pidgin/purple-plugin-pack

Suppress FreeNode welcome messages

2010-04-18, Richard Laager
8453ed51bf5d
Parents 133141f2a080
Children 318231196d2f
Suppress FreeNode welcome messages
--- a/irchelper/irchelper.c Sun Apr 18 16:46:26 2010 -0500
+++ b/irchelper/irchelper.c Sun Apr 18 16:49:03 2010 -0500
@@ -878,6 +878,12 @@
return TRUE;
}
+ /* Suppress FreeNode welcome messages. */
+ if (g_str_has_prefix(msg, MESSAGE_PURPLE_NOTICE_PREFIX MESSAGE_FREENODE_INFO))
+ {
+ return TRUE;
+ }
+
/* Suppress useless MemoServ notification. */
if (g_str_equal(nick, NICK_MEMOSERV) &&
g_str_equal(msg, MESSAGE_PURPLE_NOTICE_PREFIX MESSAGE_MEMOSERV_NO_NEW_MEMOS))