From 36a95ec61ea84943977a663e74729354e0f0e373 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 31 Aug 2007 17:08:27 +0000 Subject: * Documented/cleaned up chatroom code and packetry * Added some comments to clif_changechatowner() - totally broken, see the code + topic:163829 * Implemented the chatroom display packet properly - now has 4 types: public, private, npc and non-clickable npc chatroom * Implemented the chatroom leave packet properly - now utilizes the 'kicked' flag when the user was forced to leave - TODO: banlist support to prevent re-entry, see jAthena code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11100 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index ba3f9926a..05175a991 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1674,7 +1674,7 @@ int unit_remove_map(struct block_list *bl, int clrtype) //Leave/reject all invitations. if(sd->chatID) - chat_leavechat(sd); + chat_leavechat(sd,0); if(sd->trade_partner) trade_tradecancel(sd); if(sd->vender_id) -- cgit v1.2.3-60-g2f50