diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-10-06 20:52:29 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-10-06 20:52:29 +0200 |
commit | 1ff425a02303bf84743eb489487172f55082e384 (patch) | |
tree | fcdb260f831cecb80c0aa559634121c78d77b5f8 /lib/rbot/irc.rb | |
parent | 7444678a7d58f217f29096d88d057f6ed5ec0cd1 (diff) |
TokyoCabinet #fwmkeys() expects a string
Convert the (optional) first argument to #each*() methods to a string to
ensure the calls work as expected. This fixes a problem with
@registry.each not working as expected, and although it would have been
sufficient to convert the default for the first argument from nil to the
empty string, the approach implemented by this patch is more robust
overall.
Diffstat (limited to 'lib/rbot/irc.rb')
0 files changed, 0 insertions, 0 deletions