diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-24 23:42:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-24 23:42:36 +0000 |
commit | d9ee839c2952f5280236cbd1b4a4e44f564743f6 (patch) | |
tree | 0d64e14ede93a49863f31f8a268142b0cfa7cdab /src/modules/m_helpop.cpp | |
parent | 585c99674ab97640555c7ecaf9dccb36cc543411 (diff) |
Fix for bug #424
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8069 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index b25ed7089..b0fdf55f4 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -60,11 +60,11 @@ class cmd_helpop : public command_t CmdResult Handle (const char** parameters, int pcnt, userrec *user) { - irc::string parameter; + irc::string parameter("start"); if (pcnt > 0) parameter = parameters[0]; - if (pcnt == 0 || parameter == "index") + if (parameter == "index") { /* iterate over all helpop items */ user->WriteServ("NOTICE %s :HELPOP topic index", user->nick); |