From: plugd Date: Mon, 20 May 2024 10:52:09 +0000 (+0200) Subject: Changing own nick now also updates server users. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=050c1fe2eeffe1d815c5c84db4e783711b3298ee;p=lurk.git Changing own nick now also updates server users. --- diff --git a/murk.el b/murk.el index 9ca5e2a..1903a33 100644 --- a/murk.el +++ b/murk.el @@ -706,8 +706,10 @@ The head of this list is always the current context.") ((and "NICK" (guard (equal (murk-connection-nick server) (murk-msg-src msg)))) - (let ((new-nick (car (murk-msg-params msg)))) + (let ((new-nick (car (murk-msg-params msg))) + (old-nick (murk-connection-nick server))) (murk-set-connection-nick server new-nick) + (murk-rename-server-user server old-nick new-nick) (murk-display-notice nil "Nick set to " new-nick " on " server))) ("NICK"