From aac5cd97ad3d1ee3b28b3f7071283bd5addc3152 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Apr 2004 02:15:20 +0000 Subject: Fixes (and now it has an infinite loop - DO NOT USE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@448 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 f447a054e..62dc799d8 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -16,7 +16,7 @@ void sendtohelpop(userrec*, int, char**); void handle_helpop(char **parameters, int pcnt, userrec *user) { char a[MAXBUF]; - std::string output; + std::string output = " "; if (parameters[0] == "") { do_helpop(NULL,pcnt,user); } @@ -59,7 +59,7 @@ void handle_helpop(char **parameters, int pcnt, userrec *user) bool do_helpop(char **parameters, int pcnt, userrec *src) { char *search; - std::string output; + std::string output = " "; // a fix bought to you by brain :p char a[MAXBUF]; if (!parameters) { strcpy(search, "start"); } -- cgit v1.2.3