summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 14:17:22 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 14:17:22 +0000
commit93f7ee5268d7c953108355597d4a888c8a245671 (patch)
tree697d5346015109d7fa41a716ed98b253f19c88a6
parentad3825303f9d3c82dd0cf03d7b10e9d1f75615a9 (diff)
Tone down some logging to make debugging a tiny bit easier.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10977 e03df62e-2008-0410-955e-edbf42e46eb7
-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;
}