diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-22 18:49:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-30 01:36:43 +0300 |
commit | fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8 (patch) | |
tree | ecc8367f0b6ead19d2df25d53853c1c7dff8236c /src/map/channel.h | |
parent | ffde84076fa00eca84a81ff6842e9cc5d3844876 (diff) | |
download | hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.gz hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.bz2 hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.tar.xz hercules-fe4f4c851d876cd8b6b9ad9d31c2e3a011ecc9b8.zip |
Add channels.conf option irc_channel_autojoin for auto joining irc channel.
Diffstat (limited to 'src/map/channel.h')
-rw-r--r-- | src/map/channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/channel.h b/src/map/channel.h index ba6aafc79..8fbf08d42 100644 --- a/src/map/channel.h +++ b/src/map/channel.h @@ -51,7 +51,7 @@ struct Channel_Config { char **colors_name; unsigned char colors_count; bool local, ally, irc; - bool local_autojoin, ally_autojoin; + bool local_autojoin, ally_autojoin, irc_autojoin; char local_name[HCS_NAME_LENGTH], ally_name[HCS_NAME_LENGTH], irc_name[HCS_NAME_LENGTH]; unsigned char local_color, ally_color, irc_color; bool closing; @@ -106,6 +106,7 @@ struct channel_interface { void (*guild_join_alliance) (const struct guild *g_source, const struct guild *g_ally); void (*guild_leave_alliance) (const struct guild *g_source, const struct guild *g_ally); void (*quit_guild) (struct map_session_data *sd); + void (*irc_join) (struct map_session_data *sd); void (*config_read) (void); }; |