if TARGET server has not opened.
2005-11-19 Daiki Ueno <ueno@unixuser.org>
+ * riece-commands.el (riece-command-part-channel): Signal an error
+ if TARGET server has not opened.
+
* riece-channel.el: Require 'riece-cache.
(riece-find-channel): Increase priority of given channel name in
riece-channel-cache.
(defun riece-command-part-channel (target message)
(let ((process (riece-server-process (riece-identity-server target))))
+ (unless process
+ (error "%s" (substitute-command-keys
+ "Type \\[riece-command-open-server] to open server.")))
(riece-send-string (if message
(format "PART %s :%s\r\n"
(riece-identity-prefix target)