1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 03:13:14 +02:00

Rename CHECKPROTO() to CHECKSERVERPROTO() to avoid mixing up server caps

and client caps in the future.
This commit is contained in:
Bram Matthys
2019-12-06 08:32:36 +01:00
parent a0b0526556
commit 0bbb935a32
3 changed files with 18 additions and 31 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ void _introduce_user(Client *to, Client *acptr)
SWhois *s;
for (s = acptr->user->swhois; s; s = s->next)
{
if (CHECKPROTO(to, PROTO_EXTSWHOIS))
if (CHECKSERVERPROTO(to, PROTO_EXTSWHOIS))
{
sendto_one(to, NULL, ":%s SWHOIS %s + %s %d :%s",
me.id, acptr->name, s->setby, s->priority, s->line);