mirror of
https://github.com/anope/anope.git
synced 2026-07-03 04:23:13 +02:00
Fix deleting access by number
This commit is contained in:
@@ -188,7 +188,7 @@ class CommandCSAccess : public Command
|
||||
{
|
||||
Anope::string mask = params[2];
|
||||
|
||||
if (mask.find_first_of("!*@") == Anope::string::npos && !NickAlias::Find(mask))
|
||||
if (!isdigit(mask[0]) && mask.find_first_of("!*@") == Anope::string::npos && !NickAlias::Find(mask))
|
||||
{
|
||||
User *targ = User::Find(mask, true);
|
||||
if (targ != NULL)
|
||||
|
||||
Reference in New Issue
Block a user