summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-13 15:21:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-14 20:23:24 +0300
commit7dd7498f8ce94aa1392c02da527096182bf533a0 (patch)
tree61dd6dc1d5bda4a77623910be1cf4d6f396511a6 /src/map/clif.c
parent7b55511e79318e0b47b6a5dd3d6e309f9df2eb5e (diff)
downloadhercules-7dd7498f8ce94aa1392c02da527096182bf533a0.tar.gz
hercules-7dd7498f8ce94aa1392c02da527096182bf533a0.tar.bz2
hercules-7dd7498f8ce94aa1392c02da527096182bf533a0.tar.xz
hercules-7dd7498f8ce94aa1392c02da527096182bf533a0.zip
Add missing checks into channel.c
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9c172a2ee..a229cef66 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10116,7 +10116,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
if (chan) {
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) {
channel->send(chan,sd,message);
} else {
clif->message(fd, msg_fd(fd,1402));