mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 19:23:13 +02:00
- fix regression caused by final stage of TOKEN removal
This commit is contained in:
+3
-2
@@ -344,6 +344,8 @@ void sendto_channelprefix_butone(aClient *one, aClient *from, aChannel *chptr,
|
||||
if (acptr->from == one)
|
||||
continue; /* ...was the one I should skip
|
||||
or user not not a channel op */
|
||||
if (!prefix)
|
||||
goto good;
|
||||
if ((prefix & PREFIX_HALFOP) && (lp->flags & CHFL_HALFOP))
|
||||
goto good;
|
||||
if ((prefix & PREFIX_VOICE) && (lp->flags & CHFL_VOICE))
|
||||
@@ -357,8 +359,7 @@ void sendto_channelprefix_butone(aClient *one, aClient *from, aChannel *chptr,
|
||||
goto good;
|
||||
#endif
|
||||
continue;
|
||||
|
||||
good:
|
||||
good:
|
||||
if (MyConnect(acptr) && IsRegisteredUser(acptr))
|
||||
{
|
||||
#ifdef SECURECHANMSGSONLYGOTOSECURE
|
||||
|
||||
Reference in New Issue
Block a user