diff options
-rw-r--r-- | src/irc/core/irc-nicklist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index 2e100dda..eb3aaeca 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -133,7 +133,10 @@ static void event_names_list(IRC_SERVER_REC *server, const char *data) ptr++; } - irc_nicklist_insert(chanrec, ptr, op, halfop, voice, FALSE); + if (nicklist_find((CHANNEL_REC *) chanrec, ptr) == NULL) { + irc_nicklist_insert(chanrec, ptr, op, halfop, + voice, FALSE); + } } g_free(params); |