[mw-devel] MW3 r1211 - trunk/src/webclient

tswsl1989 at sucs.org tswsl1989 at sucs.org
Sun Oct 10 11:19:01 BST 2010


Author: tswsl1989
Date: 2010-10-10 11:19:01 +0100 (Sun, 10 Oct 2010)
New Revision: 1211

Modified:
   trunk/src/webclient/comms.c
Log:
Add co->authd in the appropriate place

Modified: trunk/src/webclient/comms.c
===================================================================
--- trunk/src/webclient/comms.c	2010-10-10 09:50:42 UTC (rev 1210)
+++ trunk/src/webclient/comms.c	2010-10-10 10:19:01 UTC (rev 1211)
@@ -384,7 +384,7 @@
 		send(co->fd, buff, strlen(buff), 0);
 		return 0; // dont close
 	}else
-	if (strncasecmp(buff, "sayto ", 6)==0) {
+	if (co->authd && strncasecmp(buff, "sayto ", 6)==0) {
 		char *tmp;
 		char *tmpm;
 		char duser[17];




More information about the mw-devel mailing list