diff options
Diffstat (limited to 'src/modes/cmode_o.cpp')
-rw-r--r-- | src/modes/cmode_o.cpp | 3 |
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) |