diff options
| author | Adam <Adam@anope.org> | 2011-08-16 15:28:21 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-08-16 15:28:21 -0400 |
| commit | 9aa414b1f63196d88731a5fc5adbc56be2c6fb39 (patch) | |
| tree | e8f82c579a57e4ea400d0c89ceed994a1a8bea89 /src/regchannel.cpp | |
| parent | 2d9ddb065ff53fc853d16040ddeb36215a9a6186 (diff) | |
Fixed matching acount access entries against nicknames
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 2 |
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)) |
