summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-09 18:45:43 -0500
committerAdam <Adam@anope.org>2014-02-09 18:51:52 -0500
commit6d61a842866f3a32551f46c46609d688697f2f2e (patch)
treedfcc6b876368667e53e8751f62bda3ca1afa4dde /include/users.h
parentf6b8596c7bd195bf8d933c5ee8d28e5393d832a7 (diff)
Add an opertype priv "protected" to not allow services to kick a user.
Also classify ulines as protected
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 0a4da4f4e..4b07b2f33 100644
--- a/include/users.h
+++ b/include/users.h
@@ -323,7 +323,7 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe
/** Check if the user is protected from kicks and negative mode changes
* @return true or false
*/
- bool IsProtected() const;
+ bool IsProtected();
/** Kill a user
* @param source The user/server doing the kill