diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-05 11:52:24 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-05 11:52:24 +0000 |
commit | 3b99e8a0cbe61aa6ad025eb47f8487d947047b3f (patch) | |
tree | 4c4afbc8a1d8b8f8863e25494530eaebeadb86f7 /lib/rbot | |
parent | c72aa9da0877b85f5cc6fd6498e6bd1b10840c1b (diff) |
Fix a disconnect on topic change
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/rfc2812.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |