summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-10-05 02:11:23 -0300
committershennetsind <ind@henn.et>2014-10-05 02:11:23 -0300
commita46b190764df4cce0b378bc691218ac0814a5673 (patch)
tree37c8e37d62f9f4502640cd685495b9418580cfe6 /src/map/clif.c
parentf51106c9312e9f1b434fc4460416d80db56ac547 (diff)
downloadhercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.gz
hercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.bz2
hercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.xz
hercules-a46b190764df4cce0b378bc691218ac0814a5673.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f6ab3f444..c0ee298a8 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8443,7 +8443,7 @@ void clif_refresh_storagewindow( struct map_session_data *sd ) {
// remain locked forever and nobody will be able to access it
if( sd->state.storage_flag == 2 ) {
struct guild_storage *gstor;
- if( (gstor = gstorage->id2storage2(sd->status.guild_id)) == NULL) {
+ if( (gstor = gstorage->id2storage(sd->status.guild_id)) == NULL) {
// Shouldn't happen... The information should already be at the map-server
intif->request_guild_storage(sd->status.account_id,sd->status.guild_id);
} else {