summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-05 11:52:24 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-05 11:52:24 +0000
commit3b99e8a0cbe61aa6ad025eb47f8487d947047b3f (patch)
tree4c4afbc8a1d8b8f8863e25494530eaebeadb86f7 /lib
parentc72aa9da0877b85f5cc6fd6498e6bd1b10840c1b (diff)
Fix a disconnect on topic change
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/rfc2812.rb2
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)