Permalink
Browse files

Added comments to deliver method

  • Loading branch information...
1 parent b0a63f3 commit ca3ab6bb8816137dc6d77d0ac33a936837ef0eee @hemanth committed Nov 6, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 rgbot.rb
View
@@ -50,6 +50,8 @@ def invoke(msg)
end
def deliver(msg,res)
+ # A helper method to deliver the message to the one who pingged the bot
+ # @msg.from.node would be the gmail user who is talking to the bot
@jabber.deliver(@msg.from.node+"@gmail.com",res)
end

0 comments on commit ca3ab6b

Please sign in to comment.