diff options
Diffstat (limited to 'src/modes/cmode_o.cpp')
-rw-r--r-- | src/modes/cmode_o.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index 63588b456..6aa36cc79 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -93,10 +93,10 @@ 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"); + ServerInstance->Log(DEBUG,"Call OnAccessCheck for AC_DEOP"); FOREACH_RESULT(I_OnAccessCheck,OnAccessCheck(user,d,chan,AC_DEOP)); - log(DEBUG,"Returns %d",MOD_RESULT); + ServerInstance->Log(DEBUG,"Returns %d",MOD_RESULT); if (MOD_RESULT == ACR_DENY) return ""; |