diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 18:01:24 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 18:01:24 +0000 |
commit | cef3b99425b0b0f0a4fb05bb0d01156727dfa87f (patch) | |
tree | 73a42af9927832e17505e81f4046365f696b2f92 /include/users.h | |
parent | 52a8a6d2bd1f015103f42eb7f1902f4f470f2318 (diff) |
Add User::IncreasePenalty() and User::DecreasePenalty()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8264 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 8 |
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 |