str = "<#{self.class}:#{'0x%x' % self.object_id}:"\r
str << " @server=#{@server}" if @server\r
str << " @nick=#{@nick.inspect} @user=#{@user.inspect}"\r
- str << " @host=#{@host.inspect} casemap=#{casemap.inspect}>"\r
- str\r
+ str << " @host=#{@host.inspect} casemap=#{casemap.inspect}"\r
+ str << ">"\r
end\r
\r
# Equality: two Netmasks are equal if they downcase to the same thing\r
str = "<#{self.class}:#{'0x%x' % self.object_id}:"\r
str << " on server #{server}" if server\r
str << " @name=#{@name.inspect} @topic=#{@topic.text.inspect}"\r
- str << " @users=<#{@users.sort.join(', ')}>"\r
- str\r
+ str << " @users=[#{@users.sort.join(', ')}]"\r
+ str << ">"\r
end\r
\r
# Returns self\r
str = "<#{self.class}:#{'0x%x' % self.object_id}:"\r
str << " @hostname=#{hostname}"\r
str << " @channels=#{chans}"\r
- str << " @users=#{users}>"\r
- str\r
+ str << " @users=#{users}"\r
+ str << ">"\r
end\r
\r
# Create a new Server, with all instance variables reset to nil (for\r