diff options
Diffstat (limited to 'lib/rbot/rfc2812.rb')
-rw-r--r-- | lib/rbot/rfc2812.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 98f086e3..2d4d323b 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -1130,7 +1130,7 @@ module Irc else warning "Strange WHO reply: #{serverstring.inspect}" end - data[:hopcount], data[:real] = argv[7].split(" ", 2) + data[:hopcount], data[:real_name] = argv[7].split(" ", 2) user = @server.get_user(data[:nick]) @@ -1140,7 +1140,7 @@ module Irc # TODO ircop status # TODO userserver # TODO hopcount - # TODO real + user.real_name = data[:real_name] channel = @server.get_channel(data[:channel]) |