summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-16 15:28:21 -0400
committerAdam <Adam@anope.org>2011-08-16 15:28:21 -0400
commit9aa414b1f63196d88731a5fc5adbc56be2c6fb39 (patch)
treee8f82c579a57e4ea400d0c89ceed994a1a8bea89 /src
parent2d9ddb065ff53fc853d16040ddeb36215a9a6186 (diff)
Fixed matching acount access entries against nicknames
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index fffb384ac..ed25ce6bf 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -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))