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:
parent
cd433904de
commit
8a0396eac3
1 changed files with 3 additions and 1 deletions
|
@ -20,8 +20,10 @@ bool Core::LinkshellMgr::loadLinkshells()
|
||||||
"LinkshellName, LeaderIdList, InviteIdList "
|
"LinkshellName, LeaderIdList, InviteIdList "
|
||||||
"FROM infolinkshell "
|
"FROM infolinkshell "
|
||||||
"ORDER BY LinkshellId ASC;" );
|
"ORDER BY LinkshellId ASC;" );
|
||||||
|
|
||||||
|
// we do not really need linkshells to function...
|
||||||
if( !res )
|
if( !res )
|
||||||
return false;
|
return true;
|
||||||
|
|
||||||
Db::Field *field = res->fetch();
|
Db::Field *field = res->fetch();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue