]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_h.cpp
Add config <options:disablehmac> to support disabling of HMAC, and tidy up to detect...
[user/henk/code/inspircd.git] / src / modes / cmode_h.cpp
index a77366c824b098451903b84b5fc8e2519deb0748..9bd061cd26684d9d19b0fb81dd5a146893d747ff 100644 (file)
@@ -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 "";