From 64132f67c02b4d4a8cdfe5aceb2426304e4fdeea Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sat, 8 Aug 2009 12:45:20 +0000 Subject: [PATCH] fixed a crashbug when adding a new botserv bot git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2439 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index fa2d7fab4..78ad93737 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -380,7 +380,7 @@ class CommandBSBot : public Command // ADD takes less params than CHANGE, so we need to take 6 if given and append it with a space to 5. if (params.size() >= 6) - params[5] = params[5] + " " + params[6]; + params[4] = params[4] + " " + params[5]; return this->DoAdd(u, params); }