diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-20 05:13:39 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-04-20 05:13:39 -0700 |
commit | d439860ebd6915fdd2f52f66cb032106e55c4777 (patch) | |
tree | f7f181c0c9518bc0fabdfc88db4f2bbe2705459c /core | |
parent | 912090fbaf4db492458f0e2aedc0181d3f39ccb3 (diff) | |
download | dinobot-d439860ebd6915fdd2f52f66cb032106e55c4777.tar.gz dinobot-d439860ebd6915fdd2f52f66cb032106e55c4777.tar.xz |
Add quit command and fix PONG message.
Diffstat (limited to 'core')
-rw-r--r-- | core/irc.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/irc.rb b/core/irc.rb index 779b37b..0cde75d 100644 --- a/core/irc.rb +++ b/core/irc.rb @@ -62,6 +62,10 @@ module Dinobot def privmsg(channel, message) puts "PRIVMSG #{channel} :#{message}" end + + def quit(message) + puts "QUIT :#{message}" + end end end end |