summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index 2b3120f29..a2d6643fe 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -79,6 +79,8 @@ struct CoreExport CommandSource
*/
class CoreExport Command : public Flags<CommandFlag>
{
+ Anope::string desc;
+
public:
/* Maximum paramaters accepted by this command */
size_t MaxParams;
@@ -104,6 +106,10 @@ class CoreExport Command : public Flags<CommandFlag>
virtual ~Command();
+ protected:
+ void SetDesc(const Anope::string &d);
+
+ public:
/** Execute this command.
* @param source The source
* @param params Command parameters