diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-07 21:58:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-07 21:58:22 +0000 |
commit | b844d1cbbe79585facc69b9247baa8427cff0b62 (patch) | |
tree | 9841df3881ff23c5d85969c6d8d788402b2fa127 /src | |
parent | c124e85b15afe4746351bb0b62ff3e40ac42f1c9 (diff) |
Remove some debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6546 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modes/cmode_h.cpp | 8 | ||||
-rw-r--r-- | src/modes/cmode_o.cpp | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/modes/cmode_h.cpp b/src/modes/cmode_h.cpp index a77366c82..9bd061cd2 100644 --- a/src/modes/cmode_h.cpp +++ b/src/modes/cmode_h.cpp @@ -84,8 +84,6 @@ ModeAction ModeChannelHalfOp::OnModeChange(userrec* source, userrec* dest, chanr int status = channel->GetStatus(source); - ServerInstance->Log(DEBUG,"Halfop handler, source=%s channel=%s parameter=%s adding=%d",source->nick, channel->name, parameter.c_str(), adding); - /* Call the correct method depending on wether we're adding or removing the mode */ if (adding) { @@ -110,8 +108,6 @@ std::string ModeChannelHalfOp::AddHalfOp(userrec *user,const char* dest,chanrec { userrec *d = ServerInstance->Modes->SanityChecks(user,dest,chan,status); - ServerInstance->Log(DEBUG,"Add halfop"); - if (d) { if (IS_LOCAL(user)) @@ -131,7 +127,6 @@ std::string ModeChannelHalfOp::AddHalfOp(userrec *user,const char* dest,chanrec } } - ServerInstance->Log(DEBUG,"Calling Grant"); return ServerInstance->Modes->Grant(d,chan,UCMODE_HOP); } return ""; @@ -141,8 +136,6 @@ std::string ModeChannelHalfOp::DelHalfOp(userrec *user,const char *dest,chanrec { userrec *d = ServerInstance->Modes->SanityChecks(user,dest,chan,status); - ServerInstance->Log(DEBUG,"Del halfop"); - if (d) { if (IS_LOCAL(user)) @@ -162,7 +155,6 @@ std::string ModeChannelHalfOp::DelHalfOp(userrec *user,const char *dest,chanrec } } - ServerInstance->Log(DEBUG,"Calling revoke"); return ServerInstance->Modes->Revoke(d,chan,UCMODE_HOP); } return ""; diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index 88d1b51e8..855976bba 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -133,11 +133,8 @@ std::string ModeChannelOp::DelOp(userrec *user,const char *dest,chanrec *chan,in if (IS_LOCAL(user)) { int MOD_RESULT = 0; - ServerInstance->Log(DEBUG,"Call OnAccessCheck for AC_DEOP"); FOREACH_RESULT(I_OnAccessCheck,OnAccessCheck(user,d,chan,AC_DEOP)); - ServerInstance->Log(DEBUG,"Returns %d",MOD_RESULT); - if (MOD_RESULT == ACR_DENY) return ""; if (MOD_RESULT == ACR_DEFAULT) |