summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 18:01:24 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 18:01:24 +0000
commitcef3b99425b0b0f0a4fb05bb0d01156727dfa87f (patch)
tree73a42af9927832e17505e81f4046365f696b2f92 /src
parent52a8a6d2bd1f015103f42eb7f1902f4f470f2318 (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 'src')
-rw-r--r--src/users.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 7dd2a71ec..c6c8126ee 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1846,6 +1846,16 @@ const char* User::GetOperQuit()
return operquit ? operquit : "";
}
+void User::IncreasePenalty(int increase)
+{
+ this->Penalty += increase;
+}
+
+void User::DecreasePenalty(int decrease)
+{
+ this->Penalty -= decrease;
+}
+
VisData::VisData()
{
}