diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2010-07-24 14:36:55 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2010-07-24 14:36:55 +0000 |
commit | 350b346c844a2b10b27c64b0a65f83e72d224f89 (patch) | |
tree | 63cea61c5f6e7f6c474dff326199d458eb63a2fc /src/irc/core/irc-nicklist.h | |
parent | ab33ac15afdc505f6bb934b713270caba321197b (diff) | |
download | irssi-350b346c844a2b10b27c64b0a65f83e72d224f89.zip |
Add prefixes to irc_nicklist_insert() so that nickrec.prefixes is accurate in the
"nicklist new" signal.
Fixes the nicklist sorting on xirssi.
Patch by nenolod.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5184 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-nicklist.h')
-rw-r--r-- | src/irc/core/irc-nicklist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h index dd3d3237..b360d542 100644 --- a/src/irc/core/irc-nicklist.h +++ b/src/irc/core/irc-nicklist.h @@ -5,7 +5,8 @@ /* Add new nick to list */ NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick, - int op, int halfop, int voice, int send_massjoin); + int op, int halfop, int voice, int send_massjoin, + char *prefixes); /* Remove all "extra" characters from `nick'. Like _nick_ -> nick */ char *irc_nick_strip(const char *nick); |