From 69af56f973b9d31f5ebd7d83e6afedb59bb08c92 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 19 Jan 2014 16:42:10 +0100 Subject: [PATCH] m_dccallow Increase penalty for /DCCALLOW help --- src/modules/m_dccallow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index de7b6b7bf..db0b54764 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -223,6 +223,10 @@ class CommandDccallow : public Command user->WriteNumeric(998, "%s : they will be removed from your DCCALLOW list.", user->nick.c_str()); user->WriteNumeric(998, "%s : your DCCALLOW list will be deleted when you leave IRC.", user->nick.c_str()); user->WriteNumeric(999, "%s :End of DCCALLOW HELP", user->nick.c_str()); + + LocalUser* localuser = IS_LOCAL(user); + if (localuser) + localuser->CommandFloodPenalty += 4000; } void DisplayDCCAllowList(User* user) -- 2.39.5