diff options
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r-- | modules/commands/cs_flags.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index a720a2a79..604643704 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -24,15 +24,6 @@ class FlagsChanAccess : 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 &priv) const { std::map<Anope::string, char>::iterator it = defaultFlags.find(priv); |