soc.2009.transport: 42e4dc9e: Do not send messages starting with /

hanzz at soc.pidgin.im hanzz at soc.pidgin.im
Thu Jul 16 04:25:29 EDT 2009


-----------------------------------------------------------------
Revision: 42e4dc9ea9616550576a8bc0c33f34f0181df2ee
Ancestor: dab3a17f5615e195bef5a0a31713c7bc30747887
Author: hanzz at soc.pidgin.im
Date: 2009-07-16T07:43:41
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/42e4dc9ea9616550576a8bc0c33f34f0181df2ee

Modified files:
        user.cpp

ChangeLog: 

Do not send messages starting with /

-------------- next part --------------
============================================================
--- user.cpp	bfab123fadfde64dca7d4ed18fe2da449dac9eb0
+++ user.cpp	b34c080da2e165171ac86b082896df6970d73733
@@ -786,7 +786,7 @@ void User::receivedMessage(const Message
 	}
 	std::string body = msg.body();
 	
-	if (body.find("/transport ") == 0) {
+	if (body.find("/") == 0) {
 		PurpleCmdStatus status;
 		char *error = NULL;
 		body.erase(0,11);


More information about the Commits mailing list