Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_motd.c
index 88eb8f4fc4a383bc804ad50dfd0c2a30d5db395a..4a8354082f6fe55169dcf3d22a3c85d5b53ac094 100644 (file)
@@ -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, RPL_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;
@@ -196,9 +196,9 @@ int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   else
   {
     send_reply(sptr, RPL_MOTDSTART, me.name);
-    send_reply(sptr, RPL_EXPLICIT | RPL_MOTD, ":\ 2Type /MOTD to read the "
+    send_reply(sptr, SND_EXPLICIT | RPL_MOTD, ":\ 2Type /MOTD to read the "
               "AUP before continuing using this service.\ 2");
-    send_reply(sptr, RPL_EXPLICIT | RPL_MOTD, ":The message of the day was "
+    send_reply(sptr, SND_EXPLICIT | RPL_MOTD, ":The message of the day was "
               "last changed: %d/%d/%d", tm->tm_mday, tm->tm_mon + 1,
               1900 + tm->tm_year);
   }
@@ -284,7 +284,7 @@ int ms_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, RPL_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;
@@ -302,9 +302,9 @@ int ms_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   else
   {
     send_reply(sptr, RPL_MOTDSTART, me.name);
-    send_reply(sptr, RPL_EXPLICIT | RPL_MOTD, ":\ 2Type /MOTD to read the "
+    send_reply(sptr, SND_EXPLICIT | RPL_MOTD, ":\ 2Type /MOTD to read the "
               "AUP before continuing using this service.\ 2");
-    send_reply(sptr, RPL_EXPLICIT | RPL_MOTD, ":The message of the day was "
+    send_reply(sptr, SND_EXPLICIT | RPL_MOTD, ":The message of the day was "
               "last changed: %d/%d/%d", tm->tm_mday, tm->tm_mon + 1,
               1900 + tm->tm_year);
   }