summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorailin-nemui2017-04-03 21:11:21 +0200
committerGitHub2017-04-03 21:11:21 +0200
commit1af8c32cfff01505ee8ff976b9f034b6dc939694 (patch)
treee8f0aad23ac7cfb980d42f5da08e9ded37a5cc0d /scripts
parentfc18b7365eb079ced83d96ae093f80a6eae85c2b (diff)
parente1076cffcae057b57dc0ee26040bca1735167b95 (diff)
downloadscripts.irssi.org-1af8c32cfff01505ee8ff976b9f034b6dc939694.tar.bz2
Merge branch 'master' into quizmaster
Diffstat (limited to 'scripts')
-rw-r--r--scripts/quiz.pl6
1 files changed, 3 insertions, 3 deletions
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");