1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

"Your nick is owned by .." message was checked always with default nick.

This wasn't wanted with eg. /IRCNET ADD -nick.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2350 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-01-28 02:37:54 +00:00 committed by cras
parent ebe60cca55
commit a6ee439c26

View File

@ -301,8 +301,8 @@ static void event_connected(IRC_SERVER_REC *server)
g_return_if_fail(server != NULL); g_return_if_fail(server != NULL);
nick = settings_get_str("nick"); nick = server->connrec->nick;
if (*nick == '\0' || g_strcasecmp(server->nick, nick) == 0) if (g_strcasecmp(server->nick, nick) == 0)
return; return;
/* someone has our nick, find out who. */ /* someone has our nick, find out who. */