Riece is a full featured IRC client.
[riece] / lisp / riece-commands.el
index e65173a..90b88fd 100644 (file)
     (modify-frame-parameters (selected-frame)
                             (list (cons 'riece-window-configuration
                                         (current-window-configuration))))
-    (if entry
+    (if (cdr entry)
        (set-window-configuration (cdr entry))
       (delete-other-windows))
     (message
@@ -481,7 +481,7 @@ the layout to the selected layout-name."
                                 (format "PART %s\r\n"
                                         (riece-identity-prefix target))))))
 
-(defun riece-command-part (target)
+(defun riece-command-part (target &optional message)
   (interactive
    (progn
      (riece-check-channel-commands-are-usable)