From 3b4b782760f381fc8e5017530077fd6cdb513e8f Mon Sep 17 00:00:00 2001 From: malufett Date: Mon, 30 Mar 2015 10:49:42 +0800 Subject: Fixed Bug#8596 -http://hercules.ws/board/tracker/issue-8596-latest-build-cannot-be-compiled/?gopid=24854#entry24854 Signed-off-by: malufett --- src/map/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/channel.c') diff --git a/src/map/channel.c b/src/map/channel.c index 15dcce82e..4331f6767 100644 --- a/src/map/channel.c +++ b/src/map/channel.c @@ -479,11 +479,11 @@ void channel_map_join(struct map_session_data *sd) void channel_irc_join(struct map_session_data *sd) { + struct channel_data *chan = ircbot->channel; if (sd->state.autotrade || sd->state.standalone) return; if (!channel->config->irc_name) return; - struct channel_data *chan = ircbot->channel; if (chan) channel->join(chan, sd, NULL, false); } -- cgit v1.2.3-60-g2f50