diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-19 01:37:00 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-19 14:49:49 +0100 |
commit | d8ab842011a467196943cf2aa047fa956af247c5 (patch) | |
tree | 995da8c58833eafef36c8f65d07285476b50fee1 | |
parent | c6d451f448a086d78c274d4907896f56739c9370 (diff) |
utils: Utils.check_location returns an array of locations if check succeeds
-rw-r--r-- | lib/rbot/core/utils/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index e00b4079..529c37bd 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -590,7 +590,7 @@ module ::Irc end loc ||= [] debug loc - return !loc.empty? + return loc.empty? ? nil : loc end # This method extracts title and content (first par) |