pidgin/plugins/raw.c

branch
release-2.x.y
changeset 38072
bbe95e29bdaf
parent 20288
5ca925a094e2
child 38240
0552f69f1996
child 38259
c593fc9f5438
--- a/pidgin/plugins/raw.c	Fri Sep 30 15:07:30 2016 -0500
+++ b/pidgin/plugins/raw.c	Sun Oct 02 15:41:04 2016 -0500
@@ -33,7 +33,6 @@
 #include "gtkutils.h"
 
 #include "protocols/jabber/jabber.h"
-#include "protocols/msn/session.h"
 
 #ifdef MAX
 # undef MAX
@@ -82,13 +81,6 @@
 		write(*a, txt, ntohs(len));
 		purple_debug(PURPLE_DEBUG_MISC, "raw", "TOC C: %s\n", txt);
 
-	} else if (strcmp(prpl_id, "prpl-msn") == 0) {
-		MsnSession *session = gc->proto_data;
-		char buf[strlen(txt) + 3];
-
-		g_snprintf(buf, sizeof(buf), "%s\r\n", txt);
-		msn_servconn_write(session->notification->servconn, buf, strlen(buf));
-
 	} else if (strcmp(prpl_id, "prpl-irc") == 0) {
 		write(*(int *)gc->proto_data, txt, strlen(txt));
 		write(*(int *)gc->proto_data, "\r\n", 2);
@@ -175,7 +167,7 @@
 	N_("Raw"),
 	DISPLAY_VERSION,
 	N_("Lets you send raw input to text-based protocols."),
-	N_("Lets you send raw input to text-based protocols (XMPP, MSN, IRC, "
+	N_("Lets you send raw input to text-based protocols (XMPP, IRC, "
 	   "TOC). Hit 'Enter' in the entry box to send. Watch the debug window."),
 	"Eric Warmenhoven <eric@warmenhoven.org>",
 	PURPLE_WEBSITE,

mercurial