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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user