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/commands/cmd_gline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_gline.cpp') diff --git a/src/commands/cmd_gline.cpp b/src/commands/cmd_gline.cpp index bdb5c26b2..bc81172d3 100644 --- a/src/commands/cmd_gline.cpp +++ b/src/commands/cmd_gline.cpp @@ -87,7 +87,7 @@ CmdResult CommandGline::Handle (const std::vector& parameters, User 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 G-line for %s, expires on %s: %s",user->nick.c_str(),target.c_str(), timestr.c_str(), parameters[2].c_str()); } -- cgit v1.2.3