1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00

Redirections were broken if server_redirect_event() didn't list the stop

event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2246 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-14 16:11:13 +00:00 committed by cras
parent 369ce5d699
commit 496db0eefc

View File

@ -507,7 +507,8 @@ server_redirect_get(IRC_SERVER_REC *server, const char *event,
if (strncmp(event, "event ", 6) == 0 &&
isdigit(event[6])) {
signal = (*redirect)->default_signal;
*match = MATCH_START;
if (*match == MATCH_NONE)
*match = MATCH_START;
} else {
/* not a numeric, so we've lost the
stop event.. */