diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 02:15:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 02:15:20 +0000 |
commit | aac5cd97ad3d1ee3b28b3f7071283bd5addc3152 (patch) | |
tree | 9cd81bda7be01cc936f7b25af27d70c28235d013 /src | |
parent | b4bab98540cbf6be02e278949ec48413c5085103 (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
Diffstat (limited to 'src')
-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 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"); } |