summaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-31 19:54:33 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-31 19:54:33 +0000
commitce04e74ea53d6e649dc90e97118d9a58155f9d94 (patch)
tree9198b7092bf9f85cdb1ddadc81150e9e09cf7bfb /src/modules/m_knock.cpp
parent0fa6bf2a5175b348a5d0fb03ec6c5a9ae6e01315 (diff)
Increase penalty for KNOCK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12339 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 30d08efb5..e85b3e049 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -23,6 +23,7 @@ class CommandKnock : public Command
CommandKnock(Module* Creator) : Command(Creator,"KNOCK", 2)
{
syntax = "<channel> <reason>";
+ Penalty = 5;
TRANSLATE3(TR_TEXT, TR_TEXT, TR_END);
}