1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Fixed a crash when no linkshells present

This commit is contained in:
Mordred 2017-08-29 17:35:25 +02:00
parent cd433904de
commit 8a0396eac3

View file

@ -20,8 +20,10 @@ bool Core::LinkshellMgr::loadLinkshells()
"LinkshellName, LeaderIdList, InviteIdList "
"FROM infolinkshell "
"ORDER BY LinkshellId ASC;" );
// we do not really need linkshells to function...
if( !res )
return false;
return true;
Db::Field *field = res->fetch();