diff options
Diffstat (limited to 'src/cmd_kline.cpp')
-rw-r--r-- | src/cmd_kline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd_kline.cpp b/src/cmd_kline.cpp index 3d81ecf4d..0ddd8a5a1 100644 --- a/src/cmd_kline.cpp +++ b/src/cmd_kline.cpp @@ -55,7 +55,9 @@ CmdResult cmd_kline::Handle (const char** parameters, int pcnt, userrec *user) } else { - ServerInstance->SNO->WriteToSnoMask('x',"%s added timed K-line for %s, expires in %d seconds.",user->nick,parameters[0],ServerInstance->Duration(parameters[1])); + time_t c_requires_crap = ServerInstance->Duration(parameters[1]) + ServerInstance->Time(); + ServerInstance->SNO->WriteToSnoMask('x',"%s added timed K-line for %s, expires on %s",user->nick,parameters[0], + ctime(&c_requires_crap)); } ServerInstance->XLines->apply_lines(to_apply); |