diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-08 12:45:20 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-08 12:45:20 +0000 |
commit | 64132f67c02b4d4a8cdfe5aceb2426304e4fdeea (patch) | |
tree | b69d728d5de52a4a881c04898eaee56b1ee7c2f8 /src | |
parent | 43d72713c542810fd07c170e5c29ed7810eb3896 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/bs_bot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |