summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Hauwaerts2015-02-25 10:30:17 +0100
committerGeert Hauwaerts2015-02-25 10:30:17 +0100
commit3ace4555457e7e82fda452676b78b9c3eb8c4a94 (patch)
tree91fda725031260bf9090e7c269e8479bbcd58e97
parent5df93b9852e1c070a78e3f9f56d164fdf571bea3 (diff)
parent4588ad3cd7c77ab3caaa9fc6692cf36682b1c932 (diff)
downloadscripts.irssi.org-3ace4555457e7e82fda452676b78b9c3eb8c4a94.tar.bz2
Merge pull request #136 from grawity/q_username
q_username: remove, no longer needed with modern Irssi
-rw-r--r--_data/scripts.yaml9
-rw-r--r--scripts/q_username.pl26
2 files changed, 0 insertions, 35 deletions
diff --git a/_data/scripts.yaml b/_data/scripts.yaml
index 8ffb144..154b465 100644
--- a/_data/scripts.yaml
+++ b/_data/scripts.yaml
@@ -3042,15 +3042,6 @@
url: ''
version: '2.02'
-
- authors: "Teemu 'jamov' Koskinen"
- contact: teemu.koskinen@mbnet.fi
- description: 'Prints the Q username in right format'
- filename: q_username.pl
- license: 'Public Domain'
- modified: '2008-05-17 17:39:11'
- name: q_username
- version: '0.1'
--
authors: 'Doug Freed'
contact: dwfreed!#irssi@freenode
description: "Authenticates you to QuakeNet's Q immediately on connect using CHALLENGEAUTH"
diff --git a/scripts/q_username.pl b/scripts/q_username.pl
deleted file mode 100644
index 6652ddf..0000000
--- a/scripts/q_username.pl
+++ /dev/null
@@ -1,26 +0,0 @@
-# Prints the Q username in right format
-
-use strict;
-use Irssi;
-use vars qw($VERSION %IRSSI);
-$VERSION = "0.1";
-%IRSSI = (
- authors=> "Teemu \'jamov\' Koskinen",
- contact=> "teemu.koskinen\@mbnet.fi",
- name=> "q_username",
- description=> "Prints the Q username in right format",
- license=> "Public Domain",
-);
-
-Irssi::theme_register([whois_auth => ' authnick : $1']);
-
-sub event_whois_auth {
- my ($server, $data) = @_;
- my ($num, $nick, $auth_nick) = split(/ +/, $_[1], 3);
- $auth_nick =~ s/\:is authed as //;
-
- $server->printformat($nick, MSGLEVEL_CRAP, 'whois_auth', $nick, $auth_nick);
- Irssi::signal_stop();
-}
-
-Irssi::signal_add('event 330', 'event_whois_auth');