summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-13 18:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-13 18:15:03 +0300
commit6115c65dbe02e495f67bf7a8b0cb48725a06c1f3 (patch)
treee591689d8ac07c91ed02255a928df5ff6d62f2fa /src
parent09b99b7109475d341250971ae11941cbc46bcbca (diff)
downloadplugin-6115c65dbe02e495f67bf7a8b0cb48725a06c1f3.tar.gz
plugin-6115c65dbe02e495f67bf7a8b0cb48725a06c1f3.tar.bz2
plugin-6115c65dbe02e495f67bf7a8b0cb48725a06c1f3.tar.xz
plugin-6115c65dbe02e495f67bf7a8b0cb48725a06c1f3.zip
Fix possible issue on joining channel after server update.
Diffstat (limited to 'src')
-rw-r--r--src/emap/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/parse.c b/src/emap/parse.c
index 520bb35..3025aaa 100644
--- a/src/emap/parse.c
+++ b/src/emap/parse.c
@@ -55,7 +55,7 @@ void map_parse_join_channel(int fd)
{
int k;
ARR_FIND(0, sd->channel_count, k, sd->channels[k] == chan);
- if (k < sd->channel_count || channel->join(chan, sd, NULL, true) == HCS_STATUS_OK)
+ if (k < sd->channel_count || channel->join(chan, sd, "", true) == HCS_STATUS_OK)
res = 1;
else
res = 0;