summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 06:58:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-27 06:58:32 +0000
commitb40174821d0039d13a6a458346786a2cc62c2542 (patch)
tree7740389f1e3e55352928b2cb5045bffdeeb371af /src
parent29a63023b5cbfd26be585184f70f3c6248d3768d (diff)
And correct it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5344 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp2
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());