summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp
index b884a4bc1..d108a314e 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -543,18 +543,15 @@ bool User::HasPrivPermission(const std::string &privstr, bool noisy)
if (AllowedPrivs->find(privstr) != AllowedPrivs->end())
{
- ServerInstance->Logs->Log("PRIVS", DEBUG, "I do have it.");
return true;
}
else if (AllowedPrivs->find("*") != AllowedPrivs->end())
{
- ServerInstance->Logs->Log("PRIVS", DEBUG, "I allow all.");
return true;
}
if (noisy)
this->WriteServ("NOTICE %s :Oper type %s does not have access to priv %s", this->nick.c_str(), this->oper.c_str(), privstr.c_str());
- ServerInstance->Logs->Log("PRIVS", DEBUG, "I don't have it...");
return false;
}