summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index d927890f0..42dccfeb6 100644
--- a/include/users.h
+++ b/include/users.h
@@ -1140,6 +1140,14 @@ class CoreExport User : public connection
*/
const char* GetOperQuit();
+ /** Increases a user's command penalty by a set amount.
+ */
+ void IncreasePenalty(int increase);
+
+ /** Decreases a user's command penalty by a set amount.
+ */
+ void DecreasePenalty(int decrease);
+
/** Handle socket event.
* From EventHandler class.
* @param et Event type