;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Code:
"Invite user: "
(riece-get-users-on-server (riece-current-server-name))
nil nil nil nil nil t))))
- (riece-send-string (format "INVITE %s %s\r\n"
+ (riece-send-string (format "INVITE %s :%s\r\n"
(riece-identity-prefix user)
(riece-identity-prefix riece-current-channel))))
(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)