From a46b190764df4cce0b378bc691218ac0814a5673 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 5 Oct 2014 02:11:23 -0300 Subject: Follow up b9b32ac7609e Fixes issue where kicking a online guild member (on a server with GP_BOUND_ITEMS defined) would render the guilds storage (if not previously loaded during the servers lifespan (since boot)) to be wiped. Special Thanks to Xgear! Signed-off-by: shennetsind --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 497e46520..68278c345 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5143,7 +5143,7 @@ ACMD(cleargstorage) return false; } - guild_storage = gstorage->id2storage2(sd->status.guild_id); + guild_storage = gstorage->id2storage(sd->status.guild_id); if (guild_storage == NULL) {// Doesn't have opened @gstorage yet, so we skip the deletion since *shouldn't* have any item there. return false; } -- cgit v1.2.3-60-g2f50