mirror of
https://github.com/anope/anope.git
synced 2026-07-01 10:26:38 +02:00
Allowing adding hostmasks to channel access lists
This commit is contained in:
@@ -47,7 +47,6 @@ class CommandNSAccess : public Command
|
||||
|
||||
CommandReturn DoAdd(CommandSource &source, NickCore *nc, const Anope::string &mask)
|
||||
{
|
||||
User *u = source.u;
|
||||
|
||||
if (mask.empty())
|
||||
{
|
||||
@@ -75,8 +74,6 @@ class CommandNSAccess : public Command
|
||||
|
||||
CommandReturn DoDel(CommandSource &source, NickCore *nc, const Anope::string &mask)
|
||||
{
|
||||
User *u = source.u;
|
||||
|
||||
if (mask.empty())
|
||||
{
|
||||
this->OnSyntaxError(source, "DEL");
|
||||
|
||||
Reference in New Issue
Block a user