diff src/protocols/msn/slp.c @ 12886:d8e8feac6cce

[gaim-migrate @ 15238] Add an account option in MSN to disable custom smileys committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 15 Jan 2006 18:13:03 +0000
parents 204bd8fac61f
children a19529ed8acb
line wrap: on
line diff
--- a/src/protocols/msn/slp.c	Sun Jan 15 16:34:06 2006 +0000
+++ b/src/protocols/msn/slp.c	Sun Jan 15 18:13:03 2006 +0000
@@ -796,6 +796,9 @@
 
 	session = cmdproc->servconn->session;
 
+	if (!gaim_account_get_bool(session->account, "custom_smileys", TRUE))
+		return;
+
 	body = msn_message_get_bin_data(msg, &body_len);
 	body_str = g_strndup(body, body_len);