summaryrefslogtreecommitdiff
path: root/modules/extra/cs_entrymsg.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-11 03:12:39 -0500
committerAdam <Adam@anope.org>2011-02-11 03:12:39 -0500
commit2529ff6daef7eb387d2fce4c6df5a31029fd5bb2 (patch)
tree25c4cf0c84bef8b47c3824ba827b3816b8f17221 /modules/extra/cs_entrymsg.cpp
parent7bdf592f7ea2d527930ada96d8e07fae966239d4 (diff)
Made the help command description code more sane
Diffstat (limited to 'modules/extra/cs_entrymsg.cpp')
-rw-r--r--modules/extra/cs_entrymsg.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/extra/cs_entrymsg.cpp b/modules/extra/cs_entrymsg.cpp
index 25cef4e78..b6b7fd66d 100644
--- a/modules/extra/cs_entrymsg.cpp
+++ b/modules/extra/cs_entrymsg.cpp
@@ -99,6 +99,7 @@ class CommandEntryMessage : public Command
public:
CommandEntryMessage(const Anope::string &cname) : Command(cname, 2, 3)
{
+ this->SetDesc("Manage the channel's entry messages");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -150,11 +151,6 @@ class CommandEntryMessage : public Command
"Controls what messages will be sent to users when they join the channel."));
return true;
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" ENTRYMSG Manage the channel's entrymsgs"));
- }
};
class CSEntryMessage : public Module