diff options
author | Adam <Adam@anope.org> | 2010-11-30 03:02:33 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:02 -0500 |
commit | 0ba566491ea246fcc895862d0ef80bdf4ee43b4b (patch) | |
tree | 9852671d32476ddad58e264a8e074c41fef9f69f /modules/core/ns_access.cpp | |
parent | 2a4d57a1cacd22084abea5dd21c87dc733a7b5bf (diff) |
Allowing adding hostmasks to channel access lists
Diffstat (limited to 'modules/core/ns_access.cpp')
-rw-r--r-- | modules/core/ns_access.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/core/ns_access.cpp b/modules/core/ns_access.cpp index 16e8690c2..51baab194 100644 --- a/modules/core/ns_access.cpp +++ b/modules/core/ns_access.cpp @@ -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"); |