diff --git a/docs/Changes b/docs/Changes index 5e08d5f6a..bbfcbed17 100644 --- a/docs/Changes +++ b/docs/Changes @@ -7,6 +7,7 @@ A Ability for users with registrations pending to drop their registrations with A Added support for Plexus 3 A Readded in support for /cs op/deop/etc to op/deop you in all channels F Changed the GHOST command to not allow ghosting unidentified users if the RECOVER command exists +F Some failed logic in /operserv exception that prevents proper exceptions from being added Anope Version 1.9.3 -------------------- diff --git a/modules/core/os_session.cpp b/modules/core/os_session.cpp index bde023aaa..8b2cb53af 100644 --- a/modules/core/os_session.cpp +++ b/modules/core/os_session.cpp @@ -256,7 +256,7 @@ class CommandOSException : public Command } else { - if (mask.find('!') == Anope::string::npos || mask.find('@') == Anope::string::npos) + if (mask.find('!') != Anope::string::npos || mask.find('@') != Anope::string::npos) { source.Reply(OPER_EXCEPTION_INVALID_HOSTMASK); return MOD_CONT;