Clear event pointer after removing it.

This commit is contained in:
Jilles Tjoelker 2008-04-02 21:22:18 +02:00
parent cb1130e0f0
commit f0fbdf6c8d
1 changed files with 2 additions and 0 deletions

View File

@ -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)