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 207264bf..4f81c695 100644 --- a/lib/rbot/config.rb +++ b/lib/rbot/config.rb @@ -186,7 +186,7 @@ module Config unless newval.include? val newval << val validate_item(val) or raise ArgumentError, "invalid item: #{val}" - validate(newval) or raise ArgumentError, "invalid value: #{newval.to_s}" + validate(newval) or raise ArgumentError, "invalid value: #{newval.inspect}" set(newval) end end |