From ecdccd6ad61083db4f5ad8f2b0ea517e6a4d9499 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 13 Feb 2016 18:19:47 -0500 Subject: [PATCH] And use account here, user might be null --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);