diff options
author | Adam <Adam@anope.org> | 2016-02-13 18:19:47 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-02-13 18:19:47 -0500 |
commit | ecdccd6ad61083db4f5ad8f2b0ea517e6a4d9499 (patch) | |
tree | 8efda1c337bca0840d81e5fac26d90d650638a00 /src/regchannel.cpp | |
parent | e0fd118b3e48ef7abadcffdfa998d74543a626d2 (diff) |
And use account here, user might be null
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 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); |