summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-02-13 18:19:47 -0500
committerAdam <Adam@anope.org>2016-02-13 18:19:47 -0500
commitecdccd6ad61083db4f5ad8f2b0ea517e6a4d9499 (patch)
tree8efda1c337bca0840d81e5fac26d90d650638a00 /src/regchannel.cpp
parente0fd118b3e48ef7abadcffdfa998d74543a626d2 (diff)
And use account here, user might be null
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index fe985215d..ba7fad650 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -394,7 +394,7 @@ static void FindMatchesRecurse(ChannelInfo *ci, const User *u, const NickCore *a
ChanAccess *a = ci->GetAccess(i);
ChannelInfo *next = NULL;
- if (a->Matches(u, u->Account(), next))
+ if (a->Matches(u, account, next))
{
ChanAccess::Path next_path = path;
next_path.push_back(a);