diff options
Diffstat (limited to 'lib/rbot/botuser.rb')
-rw-r--r-- | lib/rbot/botuser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb index dc137154..9f2620dc 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -321,7 +321,7 @@ class Bot # Inspection
def inspect
- str = "<#{self.class}:#{'0x%08x' % self.object_id}"
+ str = self.__to_s__[0..-2]
str << " (transient)" if @transient
str << ":"
str << " @username=#{@username.inspect}"
|