From a6c4c6384398a250099c86a1605d63f83f108905 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 5 Oct 2014 02:37:50 -0300 Subject: Follow up a46b190764df4cce0b378bc691218ac0814a5673 Dropped id2storage entirely, replaced with idb_get (1) it was redundant 2) the rename on a46b190764df4cce0b378bc691218ac0814a5673 was a very poor choice as plugins using the previous version would be calling the other). 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 68278c345..049adf1fc 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5143,7 +5143,7 @@ ACMD(cleargstorage) return false; } - guild_storage = gstorage->id2storage(sd->status.guild_id); + guild_storage = idb_get(gstorage->db,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-70-g09d2