diff options
author | Adam <Adam@anope.org> | 2011-02-11 03:12:39 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-11 03:12:39 -0500 |
commit | 2529ff6daef7eb387d2fce4c6df5a31029fd5bb2 (patch) | |
tree | 25c4cf0c84bef8b47c3824ba827b3816b8f17221 /include/commands.h | |
parent | 7bdf592f7ea2d527930ada96d8e07fae966239d4 (diff) |
Made the help command description code more sane
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 6 |
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 |