From 9430b8ea5a8f36fed90879261fc4ffcdcdc65218 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 5 Aug 2006 11:01:46 +0000 Subject: Minor esthetical fixups --- lib/rbot/irc.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/rbot') 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 -- cgit v1.2.3