pidgin/purple-plugin-pack

merging

2017-04-05, Gary Kramlich
e7a8f00e8000
merging
--- a/irchelper/irchelper.c Tue Jul 12 09:53:13 2016 -0500
+++ b/irchelper/irchelper.c Wed Apr 05 22:13:09 2017 -0500
@@ -117,6 +117,8 @@
#define MESSAGE_UNREAL_IRCD_PONG_CRUFT \
"*** If you are having problems connecting due to ping timeouts, " \
"please type /quote pong"
+#define MESSAGE_VOICE_ADD "mode (+v"
+#define MESSAGE_VOICE_REMOVE "mode(-v"
/* Generic AuthServ, not currently used for any networks. */
#define NICK_AUTHSERV "AuthServ"
@@ -1019,6 +1021,14 @@
return TRUE;
}
+ /* Suppress voice mode change messages. */
+ if (g_str_has_prefix(msg, MESSAGE_VOICE_ADD) ||
+ g_str_has_prefix(msg, MESSAGE_VOICE_REMOVE))
+ {
+ return TRUE
+ }
+
+
/* SLIGHTLY COMPLICATED SUPPRESSION RULES */
/* Supress QuakeNet and UnderNet Weird Login Cruft */