From d355711bbb75c08d0326f737432998a95eebaffb Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 22 Jan 2015 19:37:07 +0100 Subject: Channels refactoring: quit, leave, delete Signed-off-by: Haru --- src/map/map.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/map.c') 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); -- cgit v1.2.3-60-g2f50