summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-12 14:31:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-12 14:31:23 +0000
commitef4c97fcbdd1ed0ddac2a9b8e8d2a10ed0120fe1 (patch)
tree82bb42f2389b067a598de7d107cfbff9a0d04570 /src/map
parenta522db8a246bcac5c1aa82ee070db2c5453f0cb4 (diff)
downloadhercules-ef4c97fcbdd1ed0ddac2a9b8e8d2a10ed0120fe1.tar.gz
hercules-ef4c97fcbdd1ed0ddac2a9b8e8d2a10ed0120fe1.tar.bz2
hercules-ef4c97fcbdd1ed0ddac2a9b8e8d2a10ed0120fe1.tar.xz
hercules-ef4c97fcbdd1ed0ddac2a9b8e8d2a10ed0120fe1.zip
- Fixed the IP value being apparently incorrectly casted before inserting into the loginlog table on "connect success" events.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7634 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index 3cdeb5b42..a6bf5e026 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -718,8 +718,8 @@ int storage_guild_storageclose(struct map_session_data *sd)
chrif_save(sd, 0); //This one also saves the storage. [Skotlex]
else
storage_guild_storagesave(sd->status.account_id, sd->status.guild_id,0);
+ stor->storage_status=0;
}
- stor->storage_status=0;
sd->state.storage_flag = 0;
return 0;