summaryrefslogtreecommitdiff
path: root/src/core/ms_help.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-11 00:57:47 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-11 00:57:47 +0000
commitb0e41b4811d89b1d001ebd810b71d13197123d6b (patch)
tree223a23d2aaa9809787014a183302085b75eee019 /src/core/ms_help.c
parent56633e894ddff5a5da71fdcd1d8251074dd7e77a (diff)
Fix *_help, so they work and, uh, don't crash.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2010 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ms_help.c')
-rw-r--r--src/core/ms_help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ms_help.c b/src/core/ms_help.c
index d76c7515e..687944961 100644
--- a/src/core/ms_help.c
+++ b/src/core/ms_help.c
@@ -24,7 +24,7 @@ class CommandMSHelp : public Command
CommandReturn Execute(User *u, std::vector<std::string> &params)
{
- mod_help_cmd(s_MemoServ, u, MEMOSERV, params[0].c_str());
+ mod_help_cmd(s_MemoServ, u, MEMOSERV, params.size() > 0 ? params[0].c_str() : NULL);
return MOD_CONT;
}