Author: R33D33R <reed@redmagnet.com> (by way of Kev <klmitch@mit.edu>)
[ircu2.10.12-pk.git] / ircd / m_connect.c
index 5e372d42ec9d1ebfabdb0f2df28ec4cd37fcb39f..2fc7ec92bd121e7e171cb590eb150a22ab19ec09 100644 (file)
  */
 #include "config.h"
 
-#if 0
-/*
- * No need to include handlers.h here the signatures must match
- * and we don't need to force a rebuild of all the handlers everytime
- * we add a new one to the list. --Bleep
- */
-#include "handlers.h"
-#endif /* 0 */
 #include "client.h"
 #include "crule.h"
 #include "hash.h"
@@ -203,8 +195,8 @@ int ms_connect(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   /*
    * Notify all operators about remote connect requests
    */
-  sendcmdto_flag_butone(&me, CMD_WALLOPS, 0, FLAGS_WALLOP,
-                       ":Remote CONNECT %s %s from %s", parv[1],
+  sendwallto_group_butone(&me, WALL_WALLOPS, 0,
+                       "Remote CONNECT %s %s from %s", parv[1],
                        parv[2] ? parv[2] : "",
                        get_client_name(sptr, HIDE_IP));
   log_write(LS_NETWORK, L_INFO, 0, "CONNECT From %C : %s %s", sptr, parv[1],