summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/irc/fe-events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c
index edb5496e..8ba3bd3e 100644
--- a/src/fe-common/irc/fe-events.c
+++ b/src/fe-common/irc/fe-events.c
@@ -301,8 +301,8 @@ static void event_connected(IRC_SERVER_REC *server)
g_return_if_fail(server != NULL);
- nick = settings_get_str("nick");
- if (*nick == '\0' || g_strcasecmp(server->nick, nick) == 0)
+ nick = server->connrec->nick;
+ if (g_strcasecmp(server->nick, nick) == 0)
return;
/* someone has our nick, find out who. */