]> jfr.im git - solanum.git/blobdiff - ircd/restart.c
make more snotes L_NETWIDE
[solanum.git] / ircd / restart.c
index f91f9293c17a8ab3b5ac9d05fc99fddc6c670f9a..acd5f7db738cf1f4a8b0b0cf10764b19cca60602 100644 (file)
@@ -32,7 +32,7 @@
 #include "ircd_signal.h"
 
 /* external var */
-extern char **myargv;
+extern char * const *myargv;
 
 void
 restart(const char *mesg)
@@ -54,7 +54,7 @@ server_reboot(void)
        int i;
        char path[PATH_MAX+1];
 
-       sendto_realops_snomask(SNO_GENERAL, L_ALL, "Restarting server...");
+       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "Restarting server...");
 
        ilog(L_MAIN, "Restarting server...");