2003-08-25 Daiki Ueno <ueno@unixuser.org>
+ * riece-misc.el (riece-concat-channel-topic): Don't append ":" if
+ topic is "".
+
* riece-300.el (riece-handle-322-message): Simplify message.
* riece-commands.el (riece-command-change-layout): Call
(defun riece-concat-channel-topic (target string)
(riece-with-server-buffer (riece-identity-server target)
(let ((topic (riece-channel-get-topic (riece-identity-prefix target))))
- (if topic
- (concat string ": " topic)
- string))))
+ (if (or (null topic)
+ (equal topic ""))
+ string
+ (concat string ": " topic)))))
(defun riece-concat-channel-modes (target string)
(riece-with-server-buffer (riece-identity-server target)