1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 14:23:14 +02:00

Bug #1212 - Fixed some bad logic in /os exception preventing valid exceptions from being added

This commit is contained in:
Adam
2010-12-15 12:18:20 -05:00
parent 49d3c97b67
commit 4a4c0886cc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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;