From 3719db12e6b43e87ef9fad1917b697c565cf59ff Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 7 Aug 2006 13:33:34 +0000 Subject: Extra debug all over the place, which maybe we should keep git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_o.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modes') diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index a24cc2af9..e75e551b2 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -101,8 +101,11 @@ std::string ModeChannelOp::DelOp(userrec *user,const char *dest,chanrec *chan,in if (IS_LOCAL(user)) { int MOD_RESULT = 0; + log(DEBUG,"Call OnAccessCheck for AC_DEOP"); FOREACH_RESULT(I_OnAccessCheck,OnAccessCheck(user,d,chan,AC_DEOP)); + log(DEBUG,"Returns %d",MOD_RESULT); + if (MOD_RESULT == ACR_DENY) return ""; if (MOD_RESULT == ACR_DEFAULT) -- cgit v1.2.3