summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-07 13:33:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-07 13:33:34 +0000
commit3719db12e6b43e87ef9fad1917b697c565cf59ff (patch)
tree9995750d46634f1331b69ac68868f58b61ad7faa /src/modes
parent444c76ddcca9ddbb97344a2b93d11a5bf9a6f35f (diff)
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
Diffstat (limited to 'src/modes')
-rw-r--r--src/modes/cmode_o.cpp3
1 files changed, 3 insertions, 0 deletions
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)