diff options
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r-- | data/rbot/plugins/games/quiz.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/quiz.rb b/data/rbot/plugins/games/quiz.rb index ca2abf47..aaac24fa 100644 --- a/data/rbot/plugins/games/quiz.rb +++ b/data/rbot/plugins/games/quiz.rb @@ -218,8 +218,7 @@ class QuizPlugin < Plugin # Local data begin - file = File.new( path, File::RDONLY ) - data << "\n\n" << file.read + data << "\n\n" << File.read(path) rescue m.reply "Failed to read from local database file #{p}, skipping." end |