diff options
| author | 2007-07-01 12:06:15 +0000 | |
|---|---|---|
| committer | 2007-07-01 12:06:15 +0000 | |
| commit | 8199f4dd3e64450d464c0ac97b34d90c165df066 (patch) | |
| tree | 21c060d81d8ea6c76ba215a9b40845c65722d741 /src/command_parse.cpp | |
| parent | Split hostmask with XLines::IdentSplit then re-inject into check for proper d... (diff) | |
Optimizations and code tidyups. QA please check that svsnick and other forced nick changes still work right after this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7416 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index d03cb9296..ba06c96e1 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -133,7 +133,7 @@ int CommandParser::LoopCall(userrec* user, command_t* CommandObj, const char** p */ irc::commasepstream items1(parameters[splithere]); irc::commasepstream items2(parameters[extra]); - std::string item = "*"; + std::string item("*"); unsigned int max = 0; /* Attempt to iterate these lists and call the command objech @@ -174,7 +174,7 @@ int CommandParser::LoopCall(userrec* user, command_t* CommandObj, const char** p /* Only one commasepstream here */ irc::commasepstream items1(parameters[splithere]); - std::string item = "*"; + std::string item("*"); unsigned int max = 0; /* Parse the commasepstream until there are no tokens remaining. |
