diff options
author | Tom Feist <shabble@metavore.org> | 2011-10-11 21:45:11 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-10-11 21:45:11 +0000 |
commit | 4c4148d13c12d1b1b15d6bc996aae109c4130e9f (patch) | |
tree | 87308c02ca744c4f48155d9019857428012a9526 /feature-tests/error.pl | |
parent | added dcc-kill, a very quick hack as a base for building a dcc-spambot killer. (diff) | |
download | irssi-scripts-4c4148d13c12d1b1b15d6bc996aae109c4130e9f.tar.gz irssi-scripts-4c4148d13c12d1b1b15d6bc996aae109c4130e9f.zip |
added a bunch of feature_test stuff that I've forgotten to add. Nothing
interesting really.
Diffstat (limited to '')
-rw-r--r-- | feature-tests/error.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/feature-tests/error.pl b/feature-tests/error.pl new file mode 100644 index 0000000..5507910 --- /dev/null +++ b/feature-tests/error.pl @@ -0,0 +1,16 @@ +use Irssi; +our $VERSION = '0.1'; +our %IRSSI = ( + authors => 'shabble', + contact => 'shabble+irssi@metavore.org', + name => '', + description => '', + license => 'MIT', + updated => '$DATE' + ); + +Irssi::timeout_add_once(1000, 'die_horribly', undef); + +sub die_horribly { + die "Oh noes, I broke!"; +} |