1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +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 479fc1ce3f
commit 00ec71f81d
+1 -1
View File
@@ -254,7 +254,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)
{
u->SendMessage(OperServ, OPER_EXCEPTION_INVALID_HOSTMASK);
return MOD_CONT;