]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Allow forward linking compatability by accepting higher protocol version numbers...
[user/henk/code/inspircd.git] / src / users.cpp
index d1e3f917287cb015f99a3fc3cbd7daff14cf3c8f..b3e6ef58f32b3efa082b4c8c0bc3f120b250e4b0 100644 (file)
@@ -520,7 +520,6 @@ bool User::HasPermission(const std::string &command)
 
 bool User::HasPrivPermission(const std::string &privstr, bool noisy)
 {
-       ServerInstance->Logs->Log("PRIVS", DEBUG, "Checking if I have " + privstr);
        if (!IS_LOCAL(this))
        {
                ServerInstance->Logs->Log("PRIVS", DEBUG, "Remote (yes)");
@@ -531,7 +530,6 @@ bool User::HasPrivPermission(const std::string &privstr, bool noisy)
        {
                if (noisy)
                        this->WriteServ("NOTICE %s :You are not an oper", this->nick.c_str());
-               ServerInstance->Logs->Log("PRIVS", DEBUG, "Not oper (no)");
                return false;
        }
 
@@ -539,7 +537,6 @@ bool User::HasPrivPermission(const std::string &privstr, bool noisy)
        {
                if (noisy)
                        this->WriteServ("NOTICE %s :Privset empty(!?)", this->nick.c_str());
-               ServerInstance->Logs->Log("PRIVS", DEBUG, "No privs(?) (no)");
                return false;
        }