]> jfr.im git - irc/quakenet/newserv.git/blobdiff - control/control.c
Merge chanserv-live into default.
[irc/quakenet/newserv.git] / control / control.c
index 29d64f94051d0fe3a1eaec26c44f32cfb2730db9..7c9878f64e768e52561c0d3a75ad92c1b502d58e 100644 (file)
@@ -78,6 +78,7 @@ const flag no_noticeflags[] = {
     { 'O', NL_OPERING },      /* when someone opers */
     { 'n', NL_NOTICES },      /* turn off to receive notices instead of privmsgs */
     { 'A', NL_ALL_COMMANDS }, /* all commands sent */
+    { 'a', NL_CLEANUP },      /* automated cleanup notices */
     { '\0', 0 }
   };
 
@@ -621,7 +622,7 @@ int relink(void *sender, int cargc, char **cargv) {
   }
   
   irc_send("%s SQ %s 0 :%s",mynumeric->content,myserver->content,cargv[0]);
-  irc_disconnected();
+  irc_disconnected(0);
   
   return CMD_OK;
 }