diff options
Diffstat (limited to 'src/irc/core/massjoin.c')
-rw-r--r-- | src/irc/core/massjoin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/massjoin.c b/src/irc/core/massjoin.c index 1c7d55fb..13df8694 100644 --- a/src/irc/core/massjoin.c +++ b/src/irc/core/massjoin.c @@ -25,7 +25,7 @@ #include "irc.h" #include "irc-servers.h" #include "irc-channels.h" -#include "nicklist.h" +#include "irc-nicklist.h" static int massjoin_tag; static int massjoin_max_joins; @@ -58,7 +58,7 @@ static void event_join(IRC_SERVER_REC *server, const char *data, if (chanrec == NULL) return; /* add user to nicklist */ - nickrec = nicklist_insert(CHANNEL(chanrec), nick, FALSE, FALSE, TRUE); + nickrec = irc_nicklist_insert(chanrec, nick, FALSE, FALSE, TRUE); nicklist_set_host(CHANNEL(chanrec), nickrec, address); if (chanrec->massjoins == 0) { |