aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-10-18 16:52:44 +0000
committerGravatar w00t2008-10-18 16:52:44 +0000
commitca42e175351b6209a8e9cbd5eb92bba4f38a38ce (patch)
tree6ffdd0c0a9c5ac6d99f6d54791230bc7b956a56b /src/users.cpp
parentPatch from Namegduf to use established numerics for HELPOP instead of notices. (diff)
Add skeleton of HasPrivPermission.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10660 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 46f3eb6cc..f5af3a803 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -504,6 +504,13 @@ bool User::HasPermission(const std::string &command)
return false;
}
+
+bool User::HasPrivPermission(const std::string &privstr)
+{
+ ServerInstance->Logs->Log("CRAP", DEBUG, "Checking if I have " + privstr);
+ return true;
+}
+
bool User::AddBuffer(const std::string &a)
{
std::string::size_type start = 0;