mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
sort nicks with custom prefix by the order defined in isupport in /NAMES
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4247 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3eedfa4e12
commit
461f653d9b
3 changed files with 17 additions and 12 deletions
|
|
@ -49,7 +49,7 @@ void nicklist_update_flags_unique(SERVER_REC *server, void *id,
|
|||
void nicklist_set_own(CHANNEL_REC *channel, NICK_REC *nick);
|
||||
|
||||
/* Nick record comparision for sort functions */
|
||||
int nicklist_compare(NICK_REC *p1, NICK_REC *p2);
|
||||
int nicklist_compare(NICK_REC *p1, NICK_REC *p2, const char *nick_prefix);
|
||||
|
||||
/* Check is `msg' is meant for `nick'. */
|
||||
int nick_match_msg(CHANNEL_REC *channel, const char *msg, const char *nick);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue