diff options
| author | ailin-nemui | 2017-04-03 21:11:21 +0200 |
|---|---|---|
| committer | GitHub | 2017-04-03 21:11:21 +0200 |
| commit | 1af8c32cfff01505ee8ff976b9f034b6dc939694 (patch) | |
| tree | e8f0aad23ac7cfb980d42f5da08e9ded37a5cc0d | |
| parent | fc18b7365eb079ced83d96ae093f80a6eae85c2b (diff) | |
| parent | e1076cffcae057b57dc0ee26040bca1735167b95 (diff) | |
| download | scripts.irssi.org-1af8c32cfff01505ee8ff976b9f034b6dc939694.tar.bz2 | |
Merge branch 'master' into quizmaster
| -rw-r--r-- | _testing/config.yml | 1 | ||||
| -rw-r--r-- | scripts/quiz.pl | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/_testing/config.yml b/_testing/config.yml index 8801930..3b477f6 100644 --- a/_testing/config.yml +++ b/_testing/config.yml @@ -54,7 +54,6 @@ whitelist: - 'on' - osd - quizmaster-fr - - quiz - stocks - tvmusor - wordcompletition diff --git a/scripts/quiz.pl b/scripts/quiz.pl index 09ae726..46e34d8 100644 --- a/scripts/quiz.pl +++ b/scripts/quiz.pl @@ -26,7 +26,7 @@ use strict; use vars qw($VERSION %IRSSI); use Irssi 20020217.1542 (); # Version 0.8.1 -$VERSION = "0.7"; +$VERSION = "0.8"; %IRSSI = ( authors => "Simon Huggins", contact => "huggie-irssi\@earth.li", @@ -34,7 +34,7 @@ name => "Quiz", description => "Turns irssi into a quiz bot", license => "GPLv2", url => "http://the.earth.li/~huggie/irssi/", -changed => "Wed Apr 24 01:12:01 BST 2002", +changed => "2017-04-03", ); use Irssi::Irc; @@ -69,7 +69,7 @@ sub load_questions($$) { return if $game->{'questions'} and not $force; my $file = Irssi::settings_get_str("quiz_file"); - if (open(QS, "<$file")) { + if (open(QS, '<',$file)) { @{$game->{'questions'}}=<QS>; close(QS); Irssi::print("Loaded questions"); |
