summaryrefslogtreecommitdiff
path: root/src/map/clif.h
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/clif.h
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/clif.h')
-rw-r--r--src/map/clif.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index c1b3b5a45..a8248bc8a 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -517,7 +517,7 @@ struct s_packet_db {
short pos[MAX_PACKET_POS];
};
-struct {
+struct hChSysConfig {
unsigned int *colors;
char **colors_name;
unsigned char colors_count;
@@ -530,7 +530,7 @@ struct {
char irc_server[40], irc_channel[50], irc_nick[40], irc_nick_pw[30];
unsigned short irc_server_port;
bool irc_use_ghost;
-} hChSys;
+};
struct hChSysBanEntry {
char name[NAME_LENGTH];
@@ -576,6 +576,7 @@ struct clif_interface {
char map_ip_str[128];
int map_fd;
DBMap* channel_db;
+ struct hChSysConfig *hChSys;
/* for clif_clearunit_delayed */
struct eri *delay_clearunit_ers;
/* Cash Shop [Ind/Hercules] */