]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_gline.cpp
Read uline state in spanningtree; remove ConfigReader::ulines
[user/henk/code/inspircd.git] / src / commands / cmd_gline.cpp
index bdb5c26b2bd3aff0585fd7acfd5c14d1b6db716d..bc81172d3087532186556a4ac2e24f974c86e915 100644 (file)
@@ -87,7 +87,7 @@ CmdResult CommandGline::Handle (const std::vector<std::string>& 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());
                        }