Merge branch 'master' of git://github.com/Siroro/Server

This commit is contained in:
ukmeth0d
2014-03-07 09:03:07 +01:00
9 changed files with 84 additions and 9 deletions
+1 -1
View File
@@ -14967,7 +14967,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
return;
}
Bot* targetedBot;
Bot *targetedBot = nullptr;
if(c->GetTarget() != nullptr) {
if (c->GetTarget()->IsBot() && (c->GetTarget()->CastToBot()->GetBotOwner() == c))