utils.rb: fix handling of require return value ror/fixes
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 15 Dec 2008 09:03:40 +0000 (10:03 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 15 Dec 2008 09:03:40 +0000 (10:03 +0100)
commit86300ebcec367489cca67042affa00152f3200ad
treede7ef2c44de5d035ef717ffa8f58f533d4b50a1a
parent1579c60ee8ad2cb24eadbec66bfe3710775b2a05
utils.rb: fix handling of require return value

Things such as ActiveRecord can alter the return value of Kernel::require,
turning it into an array, so check for this case too.
lib/rbot/core/utils/utils.rb