summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-04-29 18:56:31 -0400
committerAdam <Adam@anope.org>2010-06-18 20:58:54 -0400
commit503958aa77382a85a041e195d04b7a2ec51589e3 (patch)
tree4dd29080a6174b101a3a29889d173b537eadaa9c /include/users.h
parentc1d161dec451ea790ff87078b5d80b1f71a3e9f0 (diff)
Prevent negaitve mode changes, kicks, bans, and autokicks from affecting users with unreal usermode +q or similar
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index d94dca9bd..b11c17875 100644
--- a/include/users.h
+++ b/include/users.h
@@ -258,5 +258,10 @@ class CoreExport User : public Extensible
* @return The channel container, or NULL
*/
ChannelContainer *FindChannel(Channel *c);
+
+ /** Check if the user is protected from kicks and negative mode changes
+ * @return true or false
+ */
+ bool IsProtected() const;
};