From d439860ebd6915fdd2f52f66cb032106e55c4777 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 20 Apr 2014 05:13:39 -0700 Subject: Add quit command and fix PONG message. --- core/irc.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/irc.rb') 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 -- cgit v1.2.3-70-g09d2