summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/irc.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb
index 5d3b01ec..6ef84eb0 100644
--- a/lib/rbot/irc.rb
+++ b/lib/rbot/irc.rb
@@ -533,8 +533,8 @@ module Irc
str = "<#{self.class}:#{'0x%x' % self.object_id}:"
str << " @server=#{@server}" if @server
str << " @nick=#{@nick.inspect} @user=#{@user.inspect}"
- str << " @host=#{@host.inspect} casemap=#{casemap.inspect}>"
- str
+ str << " @host=#{@host.inspect} casemap=#{casemap.inspect}"
+ str << ">"
end
# Equality: two Netmasks are equal if they downcase to the same thing
@@ -1008,8 +1008,8 @@ module Irc
str = "<#{self.class}:#{'0x%x' % self.object_id}:"
str << " on server #{server}" if server
str << " @name=#{@name.inspect} @topic=#{@topic.text.inspect}"
- str << " @users=<#{@users.sort.join(', ')}>"
- str
+ str << " @users=[#{@users.sort.join(', ')}]"
+ str << ">"
end
# Returns self
@@ -1154,8 +1154,8 @@ module Irc
str = "<#{self.class}:#{'0x%x' % self.object_id}:"
str << " @hostname=#{hostname}"
str << " @channels=#{chans}"
- str << " @users=#{users}>"
- str
+ str << " @users=#{users}"
+ str << ">"
end
# Create a new Server, with all instance variables reset to nil (for