pidgin/purple-plugin-pack

Apparently if you don't check your prpl ID you can cause crashes ;)
org.guifications.plugins
2007-09-06, rekkanoryo
8b3fa45c2c57
Apparently if you don't check your prpl ID you can cause crashes ;)
--- a/irc-more/irc-more.c Thu Sep 06 03:46:56 2007 -0400
+++ b/irc-more/irc-more.c Thu Sep 06 03:53:32 2007 -0400
@@ -99,6 +99,11 @@
gchar *msg = NULL;
account = purple_connection_get_account(gc);
+
+ /* hopefully prevent crashes related to non-IRC accounts signing on */
+ if(strcmp("prpl-irc", purple_account_get_protocol_id(account)))
+ return;
+
nick = purple_connection_get_display_name(gc);
modes = UMODES;
msg = g_strdup_printf("MODE %s +%s\r\n", nick, modes);