diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-08-30 20:02:17 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-08-30 20:02:17 +0000 |
commit | 5ea033984efb353fb8ca8f36b55582e915263805 (patch) | |
tree | f53591f2d59ef9f1b29c68b75560d8d52397b669 /lib/rbot | |
parent | 271fa1315aa0afd0330b61cd4e5071a20fa86c1d (diff) |
* (message.rb) dear tango_! i think i know what r1073 was. here's my version.
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/message.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/message.rb b/lib/rbot/message.rb index 42042b88..c539843b 100644 --- a/lib/rbot/message.rb +++ b/lib/rbot/message.rb @@ -150,13 +150,13 @@ module Irc # Access the nick of the source # def sourcenick - @source.nick + @source.nick rescue @source.to_s end # Access the user@host of the source # def sourceaddress - "#{@source.user}@#{@source.host}" + "#{@source.user}@#{@source.host}" rescue @source.to_s end # Was the message from an identified user? |