ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
194 stars 93 forks source link

Fix SQL syntax in PlayerbotMgr.cpp #98

Closed hongyiqin closed 2 years ago

hongyiqin commented 2 years ago

When any player logs in with AiPlayerbot.BotAutologin = 1, worldserver crashes with the error:

AC> [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
Error while parsing SQL. Core fix required.

Just a simple sql fix.

ZhengPeiRu21 commented 2 years ago

Thank you for finding this!