From 9994478a85358bfa48bd5b764ebc1e74e928d57a Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 1 Dec 2008 18:10:24 +0000 Subject: Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increased-buffers. This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 886824d20..1b91a86ef 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -352,7 +352,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) /* Modify the user's penalty */ bool do_more = true; - if (!user->ExemptFromPenalty) + if (!user->HasPrivPermission("users/flood/no-throttle")) { user->IncreasePenalty(cm->second->Penalty); do_more = (user->Penalty < 10); -- cgit v1.3.1-10-gc9f91