(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
(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)