mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 17:33:12 +02:00
Make swhois use AddListItemPrio. SWHOIS priorities should work now (untested)
This commit is contained in:
+1
-1
@@ -1161,7 +1161,7 @@ int swhois_add(aClient *acptr, char *tag, int priority, char *swhois, aClient *f
|
||||
s->line = strdup(swhois);
|
||||
s->setby = strdup(tag);
|
||||
s->priority = priority;
|
||||
AddListItem(s, acptr->user->swhois);
|
||||
AddListItemPrio(s, acptr->user->swhois, s->priority);
|
||||
|
||||
sendto_server(skip, 0, PROTO_EXTSWHOIS, ":%s SWHOIS %s :%s",
|
||||
from->name, acptr->name, swhois);
|
||||
|
||||
Reference in New Issue
Block a user