summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-12-12 20:21:08 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-12-12 20:21:08 +0000
commit830258cd76adb3a40d1c2a854f140b3e1faf1615 (patch)
treee0dba6efe2b2ed2069b4a1fb0f36cceff0df06a2 /lib
parent48a1862ef7c85081a622e488665644bd2f6c16c3 (diff)
found a bug
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb
index dea77971..027b9902 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -137,7 +137,7 @@ module Irc
end
def parse(string)
unless values.include?(string)
- raise ArgumentError, "invalid value #{string}, allowed values are: " + @values.join(", ")
+ raise ArgumentError, "invalid value #{string}, allowed values are: " + values.join(", ")
end
string
end