summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-05 11:01:46 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-05 11:01:46 +0000
commit9430b8ea5a8f36fed90879261fc4ffcdcdc65218 (patch)
tree9e73e9a918f9f3a63ed7763f8cf61d5b716b155c
parent135677d487beedb5d66274bcafb0db227e8865fb (diff)
Minor esthetical fixups
-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