diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-19 16:42:10 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-19 16:42:10 +0100 |
commit | 69af56f973b9d31f5ebd7d83e6afedb59bb08c92 (patch) | |
tree | f8937f9c264bd8b1cb1f7064e34422675018c125 /src/modules/m_dccallow.cpp | |
parent | dca19b60efcdd2f5e7c22e830082242fcc7d262a (diff) |
m_dccallow Increase penalty for /DCCALLOW help
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r-- | src/modules/m_dccallow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |