diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-09 18:30:55 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-09 18:30:55 +0000 |
commit | 5bcd180faba85117edba00c881d7a6e35be5356f (patch) | |
tree | fcd5e50fc81aa7da4f94281f58ac4f260023b3f5 /lib/rbot | |
parent | 4342c61392590ea9b9f3fb648ab70d5f3c6a5a95 (diff) |
bugfix
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 |