From 9aa414b1f63196d88731a5fc5adbc56be2c6fb39 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 16 Aug 2011 15:28:21 -0400 Subject: Fixed matching acount access entries against nicknames --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit