summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/servers-redirect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c
index b4e6b433..389c892d 100644
--- a/src/irc/core/servers-redirect.c
+++ b/src/irc/core/servers-redirect.c
@@ -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.. */