summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/irssi-devel/files/patch-aa20
-rw-r--r--irc/irssi/files/patch-aa20
2 files changed, 40 insertions, 0 deletions
diff --git a/irc/irssi-devel/files/patch-aa b/irc/irssi-devel/files/patch-aa
new file mode 100644
index 0000000..3703ad9
--- /dev/null
+++ b/irc/irssi-devel/files/patch-aa
@@ -0,0 +1,20 @@
+--- src/irc/core/irc.c.orig Fri Oct 10 17:30:03 2003
++++ src/irc/core/irc.c Sat Dec 27 22:20:56 2003
+@@ -108,9 +108,14 @@
+ int send_now;
+
+ g_get_current_time(&now);
+- send_now = g_timeval_cmp(&now, &server->wait_cmd) >= 0 &&
+- (server->cmdcount < server->max_cmds_at_once ||
+- server->cmd_queue_speed <= 0);
++
++ if (getenv("IRSSI_NOTHROTTLE")) {
++ send_now = TRUE;
++ } else {
++ send_now = g_timeval_cmp(&now, &server->wait_cmd) >= 0 &&
++ (server->cmdcount < server->max_cmds_at_once ||
++ server->cmd_queue_speed <= 0);
++ }
+
+ irc_send_cmd_full(server, cmd, send_now, FALSE, FALSE);
+ }
diff --git a/irc/irssi/files/patch-aa b/irc/irssi/files/patch-aa
new file mode 100644
index 0000000..3703ad9
--- /dev/null
+++ b/irc/irssi/files/patch-aa
@@ -0,0 +1,20 @@
+--- src/irc/core/irc.c.orig Fri Oct 10 17:30:03 2003
++++ src/irc/core/irc.c Sat Dec 27 22:20:56 2003
+@@ -108,9 +108,14 @@
+ int send_now;
+
+ g_get_current_time(&now);
+- send_now = g_timeval_cmp(&now, &server->wait_cmd) >= 0 &&
+- (server->cmdcount < server->max_cmds_at_once ||
+- server->cmd_queue_speed <= 0);
++
++ if (getenv("IRSSI_NOTHROTTLE")) {
++ send_now = TRUE;
++ } else {
++ send_now = g_timeval_cmp(&now, &server->wait_cmd) >= 0 &&
++ (server->cmdcount < server->max_cmds_at_once ||
++ server->cmd_queue_speed <= 0);
++ }
+
+ irc_send_cmd_full(server, cmd, send_now, FALSE, FALSE);
+ }
OpenPOWER on IntegriCloud