]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
chucknorris: typo
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 10 Sep 2012 05:43:32 +0000 (07:43 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 10 Sep 2012 05:43:32 +0000 (07:43 +0200)
data/rbot/plugins/chucknorris.rb

index 6b6c4f985ac0116e29a45d85ea1492eacd65ba33..68c6dd541907285fcc32ffdcaaea5d4d9abf9d40 100644 (file)
@@ -11,7 +11,7 @@ class ChuckNorrisPlugin < Plugin
   def initialize
     if path = find_facts_file('chucknorris.yml.gz')
       fyml = Zlib::GzipReader.open(path)
-    elsif path = find_facts_File('chucknorris.yml')
+    elsif path = find_facts_file('chucknorris.yml')
       fyml = open(path)
     else
       raise "Error: Couldn't find chucknorris.yml[.gz]"