From 3b99e8a0cbe61aa6ad025eb47f8487d947047b3f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 5 Aug 2006 11:52:24 +0000 Subject: Fix a disconnect on topic change --- lib/rbot/rfc2812.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index af88d4be..5622dcf8 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -1152,7 +1152,7 @@ module Irc handle(:join, data) when 'TOPIC' data[:channel] = @server.channel(argv[0]) - data[:topic] = ChannelTopic.new(argv[1], data[:source], Time.new) + data[:topic] = Channel::Topic.new(argv[1], data[:source], Time.new) data[:channel].topic.replace(data[:topic]) handle(:changetopic, data) -- cgit v1.2.3