summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-22 01:06:07 +0100
committerHaru <haru@dotalux.com>2015-01-24 14:37:25 +0100
commitfe55c7980099b2813a182cdfcc571df705601a4a (patch)
tree367bbfe270fbb8ccdf31d57fe5b2714cf2ec46f6 /src/map/clif.c
parentfc50b63d454f59620e0d3ef6674bd9ae54a6175f (diff)
downloadhercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.gz
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.bz2
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.tar.xz
hercules-fe55c7980099b2813a182cdfcc571df705601a4a.zip
Minor channel system refactoring
Signed-off-by: Haru <haru@dotalux.com>
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 cd449fc5a..10ab7121a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10064,7 +10064,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
}
if( k < sd->channel_count ) {
channel->send(chan,sd,message);
- } else if( chan->pass[0] == '\0' && !(chan->banned && idb_exists(chan->banned, sd->status.account_id)) ) {
+ } else if( chan->password[0] == '\0' && !(chan->banned && idb_exists(chan->banned, sd->status.account_id)) ) {
if( chan->type == HCS_TYPE_ALLY ) {
struct guild *g = sd->guild;
for (k = 0; k < MAX_GUILDALLIANCE; k++) {