]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/command_parse.cpp
Annotations
[user/henk/code/inspircd.git] / src / command_parse.cpp
index 5cc85a2a325f726daa9722623c829429ff600eb1..a158ff6a36be9ac17d8e2def2f2ec91465988758 100644 (file)
@@ -315,7 +315,6 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd)
 {
        const char *command_p[127];
        int items = 0;
-       std::string para[127];
        irc::tokenstream tokens(cmd);
        std::string command = tokens.GetToken();
 
@@ -477,6 +476,7 @@ bool CommandParser::CreateCommand(command_t *f, void* so_handle)
 
 CommandParser::CommandParser(InspIRCd* Instance) : ServerInstance(Instance)
 {
+       para.resize(128);
        this->SetupCommandTable();
 }