From d9ee839c2952f5280236cbd1b4a4e44f564743f6 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Sep 2007 23:42:36 +0000 Subject: Fix for bug #424 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8069 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_helpop.cpp | 4 ++-- 1 file 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); -- cgit v1.2.3