summaryrefslogtreecommitdiff
path: root/src/motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/motd.c')
-rw-r--r--src/motd.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/motd.c b/src/motd.c
index a4c2612..62293e4 100644
--- a/src/motd.c
+++ b/src/motd.c
@@ -33,7 +33,6 @@
#include "numeric.h"
#include "client.h"
#include "irc_string.h"
-#include "sprintf_irc.h"
#include "memory.h"
#include "s_serv.h"
@@ -162,13 +161,13 @@ read_message_file(MessageFile *MessageFileptr)
local_tm = localtime(&sb.st_mtime);
if (local_tm)
- ircsprintf(MessageFileptr->lastChangedDate,
- "%d/%d/%d %d:%02d",
- local_tm->tm_mday,
- local_tm->tm_mon + 1,
- 1900 + local_tm->tm_year,
- local_tm->tm_hour,
- local_tm->tm_min);
+ sprintf(MessageFileptr->lastChangedDate,
+ "%d/%d/%d %d:%02d",
+ local_tm->tm_mday,
+ local_tm->tm_mon + 1,
+ 1900 + local_tm->tm_year,
+ local_tm->tm_hour,
+ local_tm->tm_min);
if ((file = fopen(MessageFileptr->fileName, "r")) == NULL)
return(-1);