Created
September 2, 2014 19:45
-
-
Save imcleod/77f38d11af11b2413ada to your computer and use it in GitHub Desktop.
Trivial patch that fixes "excess flood" issues on freenode with Pidgin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur ./pidgin-2.10.9.orig/libpurple/protocols/irc/irc.c pidgin-2.10.9/libpurple/protocols/irc/irc.c | |
--- ./pidgin-2.10.9.orig/libpurple/protocols/irc/irc.c 2014-02-02 15:29:18.000000000 -0600 | |
+++ pidgin-2.10.9/libpurple/protocols/irc/irc.c 2014-09-02 10:30:24.830599697 -0500 | |
@@ -742,6 +742,7 @@ | |
struct irc_conn *irc = gc->proto_data; | |
const char *args[2]; | |
+ g_usleep(500000); | |
args[0] = g_hash_table_lookup(data, "channel"); | |
args[1] = g_hash_table_lookup(data, "password"); | |
irc_cmd_join(irc, "join", NULL, args); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment