diff options
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1436,6 +1436,10 @@ irc_handle_nick (const struct irc_message *msg, struct client *c) if (client && client != c) RETURN_WITH_REPLY (c, IRC_ERR_NICKNAMEINUSE, nickname); + // Nothing to do here, let's not annoy roommates + if (c->nickname && !strcmp (c->nickname, nickname)) + return; + if (c->registered) { client_add_to_whowas (c); |