1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 22:23:13 +02:00

Fixed matching acount access entries against nicknames

This commit is contained in:
Adam
2011-08-16 15:28:21 -04:00
parent 2d9ddb065f
commit 9aa414b1f6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class FlagsChanAccess : public ChanAccess
bool Matches(User *u, NickCore *nc)
{
if (u && (Anope::Match(u->nick, this->mask) || Anope::Match(u->GetMask(), this->mask)))
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;