summaryrefslogtreecommitdiff
path: root/rbot/channel.rb
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:18:13 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:18:13 +0000
commita08b4def5c276df964ae2a8d9c3f661593d757e6 (patch)
treecd563b11ab095bd364036d14bc28fb5fb4c065a8 /rbot/channel.rb
parent71e16adb8a62a78fc1e8cdcc6776b6cd84fbe758 (diff)
various fixes by me, plus most of Rene's patch (#1).
Diffstat (limited to 'rbot/channel.rb')
-rw-r--r--rbot/channel.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbot/channel.rb b/rbot/channel.rb
index 0db4c106..edd206bf 100644
--- a/rbot/channel.rb
+++ b/rbot/channel.rb
@@ -39,6 +39,10 @@ module Irc
# topic set by
attr_accessor :by
+ def initialize
+ @name = ""
+ end
+
# when called like "puts @bots.channels[chan].topic"
def to_s
@name