mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:53:16 +02:00
Fixed matching acount access entries against nicknames
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ AccessGroup ChannelInfo::AccessFor(User *u)
|
||||
group.SuperAdmin = u->SuperAdmin;
|
||||
group.Founder = IsFounder(u, this);
|
||||
group.ci = this;
|
||||
group.nc = u->Account();
|
||||
group.nc = nc;
|
||||
|
||||
for (unsigned i = 0, end = this->access.size(); i < end; ++i)
|
||||
if (this->access[i]->Matches(u, nc))
|
||||
|
||||
Reference in New Issue
Block a user