aboutsummaryrefslogtreecommitdiff
path: root/core/irc.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 05:13:39 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 05:13:39 -0700
commitd439860ebd6915fdd2f52f66cb032106e55c4777 (patch)
treef7f181c0c9518bc0fabdfc88db4f2bbe2705459c /core/irc.rb
parent912090fbaf4db492458f0e2aedc0181d3f39ccb3 (diff)
downloaddinobot-d439860ebd6915fdd2f52f66cb032106e55c4777.tar.gz
dinobot-d439860ebd6915fdd2f52f66cb032106e55c4777.tar.xz
Add quit command and fix PONG message.
Diffstat (limited to 'core/irc.rb')
-rw-r--r--core/irc.rb4
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