summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index 89735211c..e966e9e39 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -110,6 +110,11 @@ class CoreExport Command : public Flags<CommandFlag>, public Base
void SetDesc(const Anope::string &d);
public:
+ /** Get the command description
+ * @return The commands description
+ */
+ const Anope::string &GetDesc() const;
+
/** Execute this command.
* @param source The source
* @param params Command parameters