diff options
Diffstat (limited to 'src/cmd_gline.cpp')
-rw-r--r-- | src/cmd_gline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_gline.cpp b/src/cmd_gline.cpp index d929414c1..98f088c8b 100644 --- a/src/cmd_gline.cpp +++ b/src/cmd_gline.cpp @@ -57,7 +57,7 @@ CmdResult cmd_gline::Handle (const char** parameters, int pcnt, userrec *user) { time_t c_requires_crap = ServerInstance->Duration(parameters[1]) + ServerInstance->Time(); ServerInstance->SNO->WriteToSnoMask('x',"%s added timed G-line for %s, expires on %s",user->nick,parameters[0], - ctime(&c_requires_crap)); + ServerInstance->TimeString(c_requires_crap).c_str()); } ServerInstance->XLines->apply_lines(to_apply); |