diff options
author | Adam <Adam@anope.org> | 2010-12-15 12:18:20 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-15 12:18:20 -0500 |
commit | 4a4c0886cc7108578c1d7dc55a7a6a562a9459b9 (patch) | |
tree | c03cb6d98bd3b971f85829ded99d9ccc51a9a406 | |
parent | 49d3c97b677f319460146803004066dfd3d19089 (diff) |
Bug #1212 - Fixed some bad logic in /os exception preventing valid exceptions from being added
-rw-r--r-- | docs/Changes | 1 | ||||
-rw-r--r-- | modules/core/os_session.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
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; |