summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/irc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb
index f3a904e7..8ef848f7 100644
--- a/lib/rbot/irc.rb
+++ b/lib/rbot/irc.rb
@@ -27,7 +27,7 @@ class Object
# checks if the receiver is nil or empty
def nil_or_empty?
return true unless self
- return true if self.respond_to? :empty and self.empty?
+ return true if self.respond_to? :empty? and self.empty?
return false
end