diff options
Diffstat (limited to 'src')
-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); |