]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_set.c
Make some more files compile.
[irc/rqf/shadowircd.git] / modules / m_set.c
index c27cd95efbfbb43ce0bf261be24b3add28789354..0224a369349d3373e0d8a10aac2d799b74d0c380 100644 (file)
 
 #include "stdinc.h"
 #include "client.h"
-#include "event.h"
 #include "irc_string.h"
 #include "sprintf_irc.h"
 #include "ircd.h"
 #include "numeric.h"
-#include "commio.h"
 #include "s_serv.h"
 #include "send.h"
 #include "common.h"
@@ -381,6 +379,7 @@ quote_splitmode(struct Client *source_p, char *charval)
                        splitchecking = 0;
 
                        rb_event_delete(check_splitmode_ev);
+                       check_splitmode_ev = NULL;
                }
                /* ON */
                else if(newval == 1)
@@ -394,6 +393,7 @@ quote_splitmode(struct Client *source_p, char *charval)
 
                        /* we might be deactivating an automatic splitmode, so pull the event */
                        rb_event_delete(check_splitmode_ev);
+                       check_splitmode_ev = NULL;
                }
                /* AUTO */
                else if(newval == 2)