1
0
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:
William Pitcock
2013-05-21 02:22:39 +00:00
parent deeadee885
commit 6d63a1b90f
+3 -2
View File
@@ -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