summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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