summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 12:50:58 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 12:50:58 +0000
commit804fee1b54762bc41d5ff1559b52183b5fd35cf8 (patch)
tree081aa1564b5c528e2c5efd038bf28825d83d98a9 /include
parent3c9686f9f790e1a53e60f7da966b2415617a388f (diff)
Add int Penalty to Command. At the moment, nothing uses this, and constructor doesn't set it - I'll fix that up shortly. This is so Brain can use it in his gubbins without the source tree being broken. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8245 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 0c2802baa..33366f87a 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -92,6 +92,10 @@ class CoreExport Command : public Extensible
std::vector<TranslateType> translation;
+ /** How many seconds worth of penalty does this command have?
+ */
+ int Penalty;
+
/** Create a new command.
* @param Instance Pointer to creator class
* @param cmd Command name. This must be UPPER CASE.