diff options
Diffstat (limited to 'lib/rbot/rfc2812.rb')
-rw-r--r-- | lib/rbot/rfc2812.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 697c13e9..7832f998 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -1167,7 +1167,8 @@ module Irc data[:newnick] = argv[0] data[:oldnick] = data[:source].nick.dup - data[:source].nick = data[:nick] + data[:source].nick = data[:newnick] + debug "#{data[:oldnick]} (now #{data[:newnick]}) was on #{data[:is_on].join(', ')}" handle(:nick, data) |