Fixed broken ref to old variable name.
[lurk.git] / lurk.el
diff --git a/lurk.el b/lurk.el
index 697c937..becfff1 100644 (file)
--- a/lurk.el
+++ b/lurk.el
@@ -525,8 +525,8 @@ portion of the source component of the message, as LURK doesn't use this.")
       ("NICK"
        (let ((old-nick (lurk-msg-src msg))
              (new-nick (car (lurk-msg-params msg))))
-         (lurk-display-notice nil nick " is now known as " new-nick)
-         (lurk-rename-user nick new-nick)))
+         (lurk-display-notice nil old-nick " is now known as " new-nick)
+         (lurk-rename-user old-nick new-nick)))
 
       ("NOTICE"
        (let ((nick (lurk-msg-src msg))