aboutsummaryrefslogtreecommitdiff
path: root/.irssi/scripts/dispatch.pl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 15:53:55 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 15:53:55 -0500
commitd87bd3ddaa696c6a60528d99783aa33db6e8f214 (patch)
tree7c665bef4e2da83e1e9f51419284c7907195732c /.irssi/scripts/dispatch.pl
parentSwitch to powerline10k prompt after god knows how many years of wunjo (diff)
Drop a bunch of old config files
Diffstat (limited to '')
-rw-r--r--.irssi/scripts/dispatch.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/.irssi/scripts/dispatch.pl b/.irssi/scripts/dispatch.pl
deleted file mode 100644
index 6050520..0000000
--- a/.irssi/scripts/dispatch.pl
+++ /dev/null
@@ -1,26 +0,0 @@
-use strict;
-use warnings;
-use Irssi;
-use Irssi::Irc;
-use vars qw($VERSION %IRSSI);
-
-$VERSION = "0.0.2";
-%IRSSI = (
- authors => "Sebastian 'yath' Schmidt",
- contact => "yathen\@web.de",
- name => "Command dispatcher",
- description => "This scripts sends unknown commands to the server",
- license => "GNU GPLv2",
- changed => "Tue Mar 5 14:55:29 CET 2002",
-);
-
-sub event_default_command {
- my ($command, $server) = @_;
- return if (Irssi::settings_get_bool("dispatch_unknown_commands") == 0
- || !$server);
- $server->send_raw($command);
- Irssi::signal_stop();
-}
-
-Irssi::settings_add_bool("misc", "dispatch_unknown_commands", 1);
-Irssi::signal_add_first("default command", "event_default_command");