summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-18 22:46:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-18 22:46:25 +0000
commit6a469c46bb078f0f0c3efac45fa2ba1e2c7d4047 (patch)
treecdc7062f789b63f4a34d14c39e43f164f1e2582c /src/irc
parentc2a1971cc3001793454c3175b2134b54375ddd82 (diff)
downloadirssi-6a469c46bb078f0f0c3efac45fa2ba1e2c7d4047.zip
Support for multiple identical nicknames.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-nicklist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c
index ddfbd686..9795c414 100644
--- a/src/irc/core/irc-nicklist.c
+++ b/src/irc/core/irc-nicklist.c
@@ -123,7 +123,8 @@ static void event_end_of_names(SERVER_REC *server, const char *data)
chanrec = channel_find(server, channel);
if (chanrec != NULL && !chanrec->names_got) {
- chanrec->ownnick = nicklist_find(chanrec, server->nick);
+ nicklist_set_own(chanrec,
+ nicklist_find(chanrec, server->nick));
chanrec->chanop = chanrec->ownnick->op;
chanrec->names_got = TRUE;
signal_emit("channel joined", 1, chanrec);