summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index d6b2ae1ab..459a4a2ee 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5473,17 +5473,13 @@ ACMD(autotrade) {
((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, SCFLAG_NONE);
}
- /* currently standalone is not supporting buyingstores, so we rely on the previous method */
- if( sd->state.buyingstore ) {
- clif->authfail_fd(fd, 15);
- return true;
- }
-
-
clif->chsys_quit(sd);
clif->authfail_fd(sd->fd, 15);
-
+
+ /* currently standalone is not supporting buyingstores, so we rely on the previous method */
+ if( sd->state.buyingstore )
+ return true;
#ifdef AUTOTRADE_PERSISTENCY
pc->autotrade_prepare(sd);