From: ueno Date: Tue, 15 Apr 2008 10:25:41 +0000 (+0000) Subject: Fixed. X-Git-Tag: riece-5_0_0~28 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b18092c88874f72d3d2f484161d2ffb613bd96;p=elisp%2Friece.git Fixed. --- diff --git a/lisp/riece-irc.el b/lisp/riece-irc.el index 004f0bc..a2c158e 100644 --- a/lisp/riece-irc.el +++ b/lisp/riece-irc.el @@ -86,7 +86,10 @@ (unless realname (setq realname (riece-mcat "No information given"))) (if coding - (setq realname (encode-coding-string realname coding))) + (setq realname (encode-coding-string realname + (if (consp coding) + (cdr coding) + coding)))) (riece-process-send-string process (format "USER %s * * :%s\r\n" (or username