summaryrefslogtreecommitdiff
path: root/src/map/trade.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 20:25:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 20:25:54 +0000
commit3749a1a7585dd207ce249287585f2450b5c50ca5 (patch)
treefb14194d10cde19cf8891f27c5efd4a351f713ba /src/map/trade.c
parentdf444bd2a2d8bd73108baa1ff16f1f99bb662f3a (diff)
downloadhercules-3749a1a7585dd207ce249287585f2450b5c50ca5.tar.gz
hercules-3749a1a7585dd207ce249287585f2450b5c50ca5.tar.bz2
hercules-3749a1a7585dd207ce249287585f2450b5c50ca5.tar.xz
hercules-3749a1a7585dd207ce249287585f2450b5c50ca5.zip
- Made the map server send list of characters online to the char-server on reconnection regardless of "kick_on_disconnect" setting, as otherwise, a temporary disconnection would make the char-server tag all characters offline and refuse to save them afterwards.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7399 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/trade.c')
-rw-r--r--src/map/trade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 407560697..b9c142332 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -33,7 +33,7 @@ void trade_traderequest(struct map_session_data *sd, struct map_session_data *ta
return; //Can't trade in notrade mapflag maps.
}
- if (target_sd == NULL || sd == target_sd) {
+ if (target_sd == NULL || sd == target_sd) {
clif_tradestart(sd, 1); // character does not exist
return;
}