git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@454 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -1,6 +1,8 @@
Date Added
12/5
* Corrected typo in battle_range [celest]
+ * Fixed a crash where party chats can be sent to a
+ partially disconnected player [MouseJstr]
12/4
* Fixed a crash in clif_send when player disconnects but player
@@ -362,6 +362,8 @@ int clif_send(unsigned char *buf, int len, struct block_list *bl, int type) {
if (p) {
for(i=0;i<MAX_PARTY;i++){
if ((sd = p->member[i].sd) != NULL) {
+ if ((session[sd->fd] == NULL) || (session[sd->fd]->session_data == NULL))
+ continue;
if (sd->bl.id == bl->id && (type == PARTY_WOS ||
type == PARTY_SAMEMAP_WOS || type == PARTY_AREA_WOS))
continue;