diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/config.rb | 2 |
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 |