0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

Clear event pointer after removing it.

This commit is contained in:
Jilles Tjoelker 2008-04-02 21:22:18 +02:00
parent c6f49c9a63
commit 428f846339

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)