From 428f8463393c0c30eb4f1fc5848e3c5052814797 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 2 Apr 2008 21:22:18 +0200 Subject: [PATCH] Clear event pointer after removing it. --- modules/m_set.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/m_set.c b/modules/m_set.c index 6a72e75c..0224a369 100644 --- a/modules/m_set.c +++ b/modules/m_set.c @@ -379,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) @@ -392,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)