Author: Ghostwolf <foxxe@trms.com>
authorJoseph Bongaarts <foxxe@wtfs.net>
Wed, 31 May 2000 05:22:09 +0000 (05:22 +0000)
committerJoseph Bongaarts <foxxe@wtfs.net>
Wed, 31 May 2000 05:22:09 +0000 (05:22 +0000)
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

ircd/m_motd.c

index 4a8354082f6fe55169dcf3d22a3c85d5b53ac094..3b03a516f8829c3ee1a5ece29e901b4fc114ac7c 100644 (file)
@@ -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;