summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 18:30:55 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 18:30:55 +0000
commit5bcd180faba85117edba00c881d7a6e35be5356f (patch)
treefcd5e50fc81aa7da4f94281f58ac4f260023b3f5 /lib/rbot
parent4342c61392590ea9b9f3fb648ab70d5f3c6a5a95 (diff)
bugfix
Diffstat (limited to 'lib/rbot')
-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 7475d617..dea77971 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -136,7 +136,7 @@ module Irc
end
end
def parse(string)
- unless @values.include?(string)
+ unless values.include?(string)
raise ArgumentError, "invalid value #{string}, allowed values are: " + @values.join(", ")
end
string