summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-22 19:37:07 +0100
committerHaru <haru@dotalux.com>2015-01-24 14:37:26 +0100
commitd355711bbb75c08d0326f737432998a95eebaffb (patch)
tree494fcb26dcaacd50998be2a97c7a885e5fbbfd93 /src/map/map.c
parentd7f99f52e93aded2f0b8802f956f335d7be45a04 (diff)
downloadhercules-d355711bbb75c08d0326f737432998a95eebaffb.tar.gz
hercules-d355711bbb75c08d0326f737432998a95eebaffb.tar.bz2
hercules-d355711bbb75c08d0326f737432998a95eebaffb.tar.xz
hercules-d355711bbb75c08d0326f737432998a95eebaffb.zip
Channels refactoring: quit, leave, delete
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 4ce581ff2..1f893269b 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1857,10 +1857,6 @@ int map_quit(struct map_session_data *sd) {
unit->remove_map(&sd->ed->bl,CLR_TELEPORT,ALC_MARK);
}
- if (channel->config->local && map->list[sd->bl.m].channel && idb_exists(map->list[sd->bl.m].channel->users, sd->status.char_id)) {
- channel->leave(map->list[sd->bl.m].channel,sd);
- }
-
channel->quit(sd);
unit->remove_map_pc(sd,CLR_RESPAWN);