mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +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 "
|
||||
"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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue