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
This commit is contained in:
Wouter Coekaerts 2010-07-24 14:36:55 +00:00 committed by coekie
commit 350b346c84
5 changed files with 13 additions and 11 deletions

View file

@ -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);