diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chat.c b/src/map/chat.c index 5a6235223..d031a446b 100644 --- a/src/map/chat.c +++ b/src/map/chat.c @@ -81,7 +81,7 @@ int chat_joinchat (struct map_session_data *sd, int chatid, char* pass) //a wrong chat id can be received. [Skotlex]
if (cd == NULL)
return 1;
- if (cd->bl.m != sd->bl.m || sd->vender_id || sd->chatID || cd->limit <= cd->users) {
+ if (cd->bl.type != BL_CHAT || cd->bl.m != sd->bl.m || sd->vender_id || sd->chatID || cd->limit <= cd->users) {
clif_joinchatfail(sd,0);
return 0;
}
|