diff options
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 8e614a8a8..12291f54f 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -439,7 +439,7 @@ bool chanrec::IsBanned(userrec* user) { char mask[MAXBUF]; int MOD_RESULT = 0; - FOREACH_RESULT_I(Instance,I_OnCheckBan,OnCheckBan(user, Ptr)); + FOREACH_RESULT(I_OnCheckBan,OnCheckBan(user, this)); if (!MOD_RESULT) { snprintf(mask, MAXBUF, "%s!%s@%s", user->nick, user->ident, user->GetIPString()); |