emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/rcirc-update 262fbe1 3/5: Fix TOPIC command


From: Philip Kaludercic
Subject: feature/rcirc-update 262fbe1 3/5: Fix TOPIC command
Date: Tue, 27 Jul 2021 11:42:45 -0400 (EDT)

branch: feature/rcirc-update
commit 262fbe1a47054c1a681e538868cdb68119e79df9
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fix TOPIC command
    
    * rcirc.el (topic): Add target argument.
---
 lisp/net/rcirc.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 3c7cced..60751c1 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2562,8 +2562,8 @@ With a prefix arg, prompt for new topic."
   (interactive (list (and current-prefix-arg
                           (read-string "List names in channel: "))))
   (if (> (length topic) 0)
-      (rcirc-send-string process "TOPIC" : topic)
-    (rcirc-send-string process "TOPIC")))
+      (rcirc-send-string process "TOPIC" target : topic)
+    (rcirc-send-string process "TOPIC" target)))
 
 (rcirc-define-command whois (nick)
   "Request information from server about NICK."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]