summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 02:15:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-08 02:15:20 +0000
commitaac5cd97ad3d1ee3b28b3f7071283bd5addc3152 (patch)
tree9cd81bda7be01cc936f7b25af27d70c28235d013
parentb4bab98540cbf6be02e278949ec48413c5085103 (diff)
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
-rw-r--r--src/modules/m_helpop.cpp4
1 files 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"); }