mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 03:06:38 +02:00
Fixed the keywalk bug reported by BaTmAn
This commit is contained in:
@@ -586,3 +586,4 @@ seen. gmtime warning still there
|
||||
- Made CRYPTOIRCD get cached in config.cache
|
||||
- Fixed generation of certs, moved from configure.in to Config
|
||||
- Fixed lack of -lssl
|
||||
- Fixed the keywalk bug reported by BaTmAn (?)
|
||||
|
||||
+3
-2
@@ -2392,9 +2392,10 @@ void over_notice(aClient *cptr, aClient *sptr, aChannel *chptr, char *key)
|
||||
if (is_banned(cptr, sptr, chptr) && IsOper(sptr) && !IsULine(sptr))
|
||||
{
|
||||
sendto_umode(UMODE_EYES, "*** Banwalk [IRCop: %s] [Channel: %s]",sptr->name,chptr->chname);
|
||||
} else if (*chptr->mode.key && (BadPtr(key) || mycmp(chptr->mode.key, key))) {
|
||||
} else if (IsOper(sptr) && !IsULine(sptr) && *chptr->mode.key && (BadPtr(key) ||
|
||||
mycmp(chptr->mode.key, key))) {
|
||||
sendto_umode(UMODE_EYES, "*** Keywalk [IRCop: %s] [Channel: %s]",sptr->name,chptr->chname);
|
||||
} else if ((chptr->mode.mode & MODE_INVITEONLY) && !lp) {
|
||||
} else if (IsOper(sptr) && !IsULine(sptr) && (chptr->mode.mode & MODE_INVITEONLY) && !lp) {
|
||||
sendto_umode(UMODE_EYES, "*** Invitewalk [IRCop: %s] [Channel: %s]",sptr->name,chptr->chname);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user