added basic ssl support to ircu
[ircu2.10.12-pk.git] / ircd / m_desynch.c
index c735a2a3da79dcd6098c8416283f7f9e243a304f..a8533ac2a3a264f28bc02d9cb6264409052dde28 100644 (file)
@@ -84,6 +84,7 @@
 #include "client.h"
 #include "hash.h"
 #include "ircd.h"
+#include "ircd_log.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "msg.h"
@@ -92,7 +93,7 @@
 #include "s_bsd.h"
 #include "send.h"
 
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
 
 /*
  * ms_desynch - server message handler
 int ms_desynch(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
   if (parc >= 2)
-    sendcmdto_flag_butone(sptr, CMD_DESYNCH, cptr, FLAGS_DEBUG | FLAGS_OPER,
-                         ":%s", parv[parc - 1]);
+    sendwallto_group_butone(sptr, WALL_DESYNCH, cptr, "%s", parv[parc - 1]);
   else
     need_more_params(sptr,"DESYNCH");