diff options
author | Adam <Adam@anope.org> | 2011-12-31 01:33:32 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-12-31 01:33:32 -0500 |
commit | 20aa4e85ce11a5d286f027638c4af82251c2afb9 (patch) | |
tree | 398140734d25134002f633c4c6dac6510584580b /modules/commands/cs_xop.cpp | |
parent | f1b05acf269817b9fd70bab24fe66fbfe936beba (diff) |
Bug #1368 - check all members of a users gruop against the access list
Diffstat (limited to 'modules/commands/cs_xop.cpp')
-rw-r--r-- | modules/commands/cs_xop.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 3ba53e28f..1fd197967 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -99,15 +99,6 @@ class XOPChanAccess : 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 { for (int i = 0; xopAccess[i].type != XOP_UNKNOWN; ++i) |