Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_restart.c
index 290dc9892de1eb705e37a6af932aa1b4d6aff34c..11d71e96f656f8b58097a0af4ed39b7df690d7b4 100644 (file)
@@ -114,7 +114,7 @@ int mo_restart(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 #endif
 #endif
   {
-    sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
+    send_reply(sptr, ERR_NOPRIVILEGES);
     return 0;
   }
   ircd_log(L_NOTICE, "Server RESTART by %s\n", get_client_name(sptr, HIDE_IP));
@@ -143,7 +143,7 @@ int m_restart(struct Client *cptr, struct Client *sptr, int parc,
 #endif
 #endif
   {
-    sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
+    sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); /* XXX DEAD */
     return 0;
   }
   ircd_log(L_NOTICE, "Server RESTART by %s\n", get_client_name(sptr, HIDE_IP));