From: Tom Gilbert Date: Thu, 14 Jul 2005 12:02:31 +0000 (+0000) Subject: Webrick functionality is now in a plugin X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=c4158048419c97a51108b33557796d1004c777cb;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Webrick functionality is now in a plugin --- diff --git a/rbot/ircbot.rb b/rbot/ircbot.rb index 45603963..26f3f8bb 100644 --- a/rbot/ircbot.rb +++ b/rbot/ircbot.rb @@ -70,9 +70,6 @@ class IrcBot # and restore objects in their own namespaces.) attr_reader :registry - # our webrick instance - attr_reader :http_server - # create a new IrcBot with botclass +botclass+ def initialize(botclass) @botclass = botclass.gsub(/\/$/, "") @@ -395,7 +392,6 @@ class IrcBot @socket.flush @socket.shutdown @registry.close - @http_server.shutdown puts "rbot quit (#{message})" exit 0 end