summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-10 21:37:58 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-10 21:37:58 +0000
commit51a4d5531d76a5b40839efd114377e21c00c2592 (patch)
treef74dd622c52e0bbe639a70928bc17cd397a6aef9 /src
parent0d6a4ac68463819c38fe879ba1637051ac4c43ca (diff)
downloadhercules-51a4d5531d76a5b40839efd114377e21c00c2592.tar.gz
hercules-51a4d5531d76a5b40839efd114377e21c00c2592.tar.bz2
hercules-51a4d5531d76a5b40839efd114377e21c00c2592.tar.xz
hercules-51a4d5531d76a5b40839efd114377e21c00c2592.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@102 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/chat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index e5e9646d1..051d9609a 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -82,6 +82,11 @@ int chat_joinchat(struct map_session_data *sd,int chatid,char* pass)
clif_joinchatfail(sd,1);
return 0;
}
+ if(chatid == sd->chatID) //Double Chat fix by Alex14, thx CHaNGeTe
+ {
+ clif_joinchatfail(sd,1);
+ return 0;
+ }
cd->usersd[cd->users] = sd;
cd->users++;