summaryrefslogtreecommitdiff
path: root/src/cmd_qline.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-14 10:47:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-14 10:47:23 +0000
commit09e1cd32a322107f66869eae182fd5e4ea6f6587 (patch)
tree9bd1452e5c3aa87a9bb003dd7a28b1efafad272a /src/cmd_qline.cpp
parent6b99d038e5373c10af85c7f307963ea6bc2e2067 (diff)
Find out from the commit notices that we're still using ctime() here and should be using InspIRCd::TimeStr (ick)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6789 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_qline.cpp')
-rw-r--r--src/cmd_qline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_qline.cpp b/src/cmd_qline.cpp
index d1f717c8f..28b6504d6 100644
--- a/src/cmd_qline.cpp
+++ b/src/cmd_qline.cpp
@@ -51,7 +51,7 @@ CmdResult cmd_qline::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 Q-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);
}