diff options
| author | 2011-04-03 11:27:33 -0400 | |
|---|---|---|
| committer | 2011-04-03 11:27:33 -0400 | |
| commit | b08af9801b47edbb4684bac691cb1e8d5eb9e3b8 (patch) | |
| tree | 78b0f5c0fbbb95836579237849fb2385f235763b /src/command_parse.cpp | |
| parent | Remove inappropriate use of sepstream (diff) | |
Rewrite sepstream logic, add an option to suppress empty items, and add test cases
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 92682fed5..5f4890cbe 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -67,8 +67,8 @@ int CommandParser::LoopCall(User* user, Command* CommandObj, const std::vector<s /* Create two lists, one for channel names, one for keys */ - irc::commasepstream items1(parameters[splithere]); - irc::commasepstream items2(extra >= 0 ? parameters[extra] : ""); + irc::commasepstream items1(parameters[splithere], false); + irc::commasepstream items2(extra >= 0 ? parameters[extra] : "", false); std::string extrastuff; std::string item; unsigned int max = 0; |
