diff options
Diffstat (limited to 'src/motd.c')
-rw-r--r-- | src/motd.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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); |