From 804fee1b54762bc41d5ff1559b52183b5fd35cf8 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 12:50:58 +0000 Subject: 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 --- include/ctables.h | 4 ++++ 1 file changed, 4 insertions(+) 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 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. -- cgit v1.2.3