From 91f53565886e008ca4bb1ff9ee0b409f4d3bad13 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Apr 2006 12:14:28 +0000 Subject: I hate HATE HATE templates. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3860 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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::iterator watchers = modewatchers[handler_id].begin(); watchers != modewatchers[handler_id].end(); watchers++) -- cgit v1.2.3