1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 11:53:11 +02:00

And use account here, user might be null

This commit is contained in:
Adam
2016-02-13 18:19:47 -05:00
parent e0fd118b3e
commit ecdccd6ad6
+1 -1
View File
@@ -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);