mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:16:37 +02:00
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
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user