diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-10 12:14:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-10 12:14:28 +0000 |
commit | 91f53565886e008ca4bb1ff9ee0b409f4d3bad13 (patch) | |
tree | 68b7f33e20c716063bf5e0e2fea3b72bad02b7cc /src | |
parent | 26df84737842a540f9c435f30f714f51121b5b69 (diff) |
I hate HATE HATE templates.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3860 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 0d0828360..05d35c103 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -566,7 +566,8 @@ void ModeParser::Process(char **parameters, int pcnt, userrec *user) if ((modehandlers[handler_id]->GetNumParams(adding)) && (parameter != "")) { - parameter_list >> " " >> parameter; + parameter = " " + parameter; + parameter_list >> parameter; } for (std::vector<ModeWatcher*>::iterator watchers = modewatchers[handler_id].begin(); watchers != modewatchers[handler_id].end(); watchers++) |