summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-03 16:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-06 16:16:08 +0300
commita420b092af7d39f75a09888784f4a828d12eff6c (patch)
tree38b430321d92d222f8752bb2e19df1a0b8320bcd /src/map/pc.c
parent95e00b5f0180131bf035bd9f52c83c2788ad10d9 (diff)
downloadhercules-a420b092af7d39f75a09888784f4a828d12eff6c.tar.gz
hercules-a420b092af7d39f75a09888784f4a828d12eff6c.tar.bz2
hercules-a420b092af7d39f75a09888784f4a828d12eff6c.tar.xz
hercules-a420b092af7d39f75a09888784f4a828d12eff6c.zip
add channels config into clif interface.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c5d1eba19..4def231bc 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5025,7 +5025,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short map_index, int x, int
vending->close(sd);
}
- if( hChSys.local && map->list[sd->bl.m].channel && idb_exists(map->list[sd->bl.m].channel->users, sd->status.char_id) ) {
+ if (clif->hChSys->local && map->list[sd->bl.m].channel && idb_exists(map->list[sd->bl.m].channel->users, sd->status.char_id)) {
clif->chsys_left(map->list[sd->bl.m].channel,sd);
}
}