From cef3b99425b0b0f0a4fb05bb0d01156727dfa87f Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 18:01:24 +0000 Subject: Add User::IncreasePenalty() and User::DecreasePenalty() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8264 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/users.cpp') 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() { } -- cgit v1.3.1-10-gc9f91