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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index bc76859e9..1c0542066 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5708,12 +5708,7 @@ ACMD_FUNC(autotrade) {
}
}
- if( sd->channel_count ) {
- for( i = 0; i < sd->channel_count; i++ ) {
- if( sd->channels[i] != NULL )
- clif->chsys_left(sd->channels[i],sd);
- }
- }
+ clif->chsys_quit(sd);
clif->authfail_fd(sd->fd, 15);