summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-29 21:12:49 -0400
committerAdam <Adam@anope.org>2011-05-16 04:10:15 -0400
commitb999c6ca53d6b1dfd54688d21718293858f6bcc7 (patch)
tree1090a9d538010eb4026daac7d4b1dbd131635044 /include/commands.h
parent583954d3a1db658281a9afb7b7dd6773726c8c11 (diff)
Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string
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