From ad47ea662698e72ff8f79b03512b1e7fe81bdf53 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 15 Dec 2013 05:34:00 +0000 Subject: Make various self contained methods static. - InspIRCd::IsValidMask - InspIRCd::TimeString --- src/modules/m_cban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cban.cpp') 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); } } -- cgit v1.2.3