mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3ccbd0405b
commit
217283caea
30 changed files with 520 additions and 133 deletions
|
|
@ -369,7 +369,10 @@ int nicklist_compare(NICK_REC *p1, NICK_REC *p2)
|
|||
* returns :-)
|
||||
* -- yath */
|
||||
|
||||
if (p1->op)
|
||||
/* Treat others as highest - should really use order in 005 numeric */
|
||||
if (p1->other)
|
||||
status1 = 5;
|
||||
else if (p1->op)
|
||||
status1 = 4;
|
||||
else if (p1->halfop)
|
||||
status1 = 3;
|
||||
|
|
@ -378,7 +381,9 @@ int nicklist_compare(NICK_REC *p1, NICK_REC *p2)
|
|||
else
|
||||
status1 = 1;
|
||||
|
||||
if (p2->op)
|
||||
if (p2->other)
|
||||
status2 = 5;
|
||||
else if (p2->op)
|
||||
status2 = 4;
|
||||
else if (p2->halfop)
|
||||
status2 = 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue