diff options
| author | 2013-12-15 05:34:00 +0000 | |
|---|---|---|
| committer | 2013-12-15 06:46:44 +0000 | |
| commit | ad47ea662698e72ff8f79b03512b1e7fe81bdf53 (patch) | |
| tree | e7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/modules/m_cban.cpp | |
| parent | Purge docs/rfc from the repository. (diff) | |
| download | inspircd++-ad47ea662698e72ff8f79b03512b1e7fe81bdf53.tar.gz inspircd++-ad47ea662698e72ff8f79b03512b1e7fe81bdf53.tar.bz2 inspircd++-ad47ea662698e72ff8f79b03512b1e7fe81bdf53.zip | |
Make various self contained methods static.
- InspIRCd::IsValidMask
- InspIRCd::TimeString
Diffstat (limited to 'src/modules/m_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 5f3f1c7f1..4fb0653a9 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -121,7 +121,7 @@ class CommandCBan : public Command else { time_t c_requires_crap = duration + ServerInstance->Time(); - std::string timestr = ServerInstance->TimeString(c_requires_crap); + std::string timestr = InspIRCd::TimeString(c_requires_crap); ServerInstance->SNO->WriteGlobalSno('x', "%s added timed CBan for %s, expires on %s: %s", user->nick.c_str(), parameters[0].c_str(), timestr.c_str(), reason); } } |
