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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user