From: Joseph Bongaarts Date: Wed, 31 May 2000 05:22:09 +0000 (+0000) Subject: Author: Ghostwolf X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=edf97b6903590e28f3cd40b0d38f80ce5bed0131;p=ircu2.10.12-pk.git Author: Ghostwolf Log message: Fixed protocol syntax typo's in m_motd. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@242 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ircd/m_motd.c b/ircd/m_motd.c index 4a83540..3b03a51 100644 --- a/ircd/m_motd.c +++ b/ircd/m_motd.c @@ -131,7 +131,7 @@ int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) { no_motd = 0; #endif - if (hunt_server_cmd(sptr, CMD_MODE, cptr, 0, "%C", 1, parc, parv) != + if (hunt_server_cmd(sptr, CMD_MOTD, cptr, 0, "%C", 1, parc, parv) != HUNTED_ISME) return 0; #ifdef NODEFAULTMOTD @@ -178,7 +178,7 @@ int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) if (tm) /* Not remote? */ { send_reply(sptr, RPL_MOTDSTART, me.name); - send_reply(sptr, SND_EXPLICIT | RPL_MOTD, "- %d/%d/%d %d:%02d", + send_reply(sptr, SND_EXPLICIT | RPL_MOTD, ":- %d/%d/%d %d:%02d", tm->tm_mday, tm->tm_mon + 1, 1900 + tm->tm_year, tm->tm_hour, tm->tm_min); count = 100;