diff options
-rw-r--r-- | src/irc/proxy/listen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index 2d34ec0b..cdb31d4b 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -425,10 +425,14 @@ static void sig_server_disconnected(IRC_SERVER_REC *server) } } -static void event_nick(const char *data, IRC_SERVER_REC *server) +static void event_nick(const char *data, IRC_SERVER_REC *server, + const char *orignick) { GSList *tmp; + if (g_strcasecmp(orignick, server->nick) != 0) + return; + if (*data == ':') data++; for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) { CLIENT_REC *rec = tmp->data; |