summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-11 17:25:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-11 17:25:49 +0000
commit45edb97481f5bf680311121db4b33bb00a07a081 (patch)
treedd7dfaa95e786340520fe9161a9fcf0aa87162d4 /src/map/clif.c
parentb57366763f2d0900404ea045dd1208f077c0c2c3 (diff)
downloadhercules-45edb97481f5bf680311121db4b33bb00a07a081.tar.gz
hercules-45edb97481f5bf680311121db4b33bb00a07a081.tar.bz2
hercules-45edb97481f5bf680311121db4b33bb00a07a081.tar.xz
hercules-45edb97481f5bf680311121db4b33bb00a07a081.zip
- Corrected /invite letting you invite people even if you are not the party leader.
- Added some reply messages when you try /invite and a. the character is not found or b. you are not the party leader. - Added a check so that the 'save on crash' routine won't get stuck if it happens to crash while attempting to save characters. - People in chat-rooms no longer receive @main messages. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11179 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 d95495c1a..557e80041 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -362,7 +362,7 @@ int clif_send(const uint8* buf, int len, struct block_list* bl, enum send_target
for(i=1; i<fd_max; i++) {
if (session[i] && session[i]->func_parse == clif_parse &&
(sd = (struct map_session_data*)session[i]->session_data) != NULL &&
- sd->state.mainchat && (fd=sd->fd))
+ sd->state.mainchat && !sd->chatID && (fd=sd->fd))
{
WFIFOHEAD(fd,len);
memcpy(WFIFOP(fd,0), buf, len);