diff options
author | Yaohan Chen <hagabaka@nanomachine.STUDENT.cwru.edu> | 2008-03-21 10:47:30 -0400 |
---|---|---|
committer | Yaohan Chen <hagabaka@nanomachine.STUDENT.cwru.edu> | 2008-03-21 10:47:30 -0400 |
commit | fdf1bc954352f19818f5f9f1c86643a2f8ef40c6 (patch) | |
tree | 5133ca5713af2b4aa756ad6c63a46db3fe141e66 /lib | |
parent | 2181f8f40f6dfc1ca7e48d82c0dfdcde6436ce72 (diff) | |
parent | 9a98a241d33d405bb104d27357af64afd4d5e6b2 (diff) |
Merge branch 'master' of ssh://ruby-rbot.org/var/git/rbot
Diffstat (limited to 'lib')
-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) |