diff options
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r-- | modules/commands/cs_access.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index d1d3deb93..26359190a 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -31,15 +31,6 @@ class AccessChanAccess : public ChanAccess { } - bool Matches(User *u, NickCore *nc) - { - if (u && this->mask.find_first_of("!@?*") != Anope::string::npos && (Anope::Match(u->nick, this->mask) || Anope::Match(u->GetMask(), this->mask))) - return true; - else if (nc && Anope::Match(nc->display, this->mask)) - return true; - return false; - } - bool HasPriv(const Anope::string &name) const { return this->ci->GetLevel(name) != ACCESS_INVALID && this->level >= this->ci->GetLevel(name); |