1
0
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:
codemastr
2001-06-19 16:15:43 +00:00
parent d269e1a8a1
commit cc4596cf7e
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -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
View File
@@ -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);
}