summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-12-15 05:34:00 +0000
committerPeter Powell <petpow@saberuk.com>2013-12-15 06:46:44 +0000
commitad47ea662698e72ff8f79b03512b1e7fe81bdf53 (patch)
treee7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/modules/m_shun.cpp
parent7fea7c24c509731040b76191d279972fced7b64c (diff)
Make various self contained methods static.
- InspIRCd::IsValidMask - InspIRCd::TimeString
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index f0524435b..075b80eb7 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -140,7 +140,7 @@ class CommandShun : 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->WriteToSnoMask('x', "%s added timed SHUN for %s to expire on %s: %s",
user->nick.c_str(), target.c_str(), timestr.c_str(), expr.c_str());
}