* riece-irc.el (riece-irc-open-server): Changed the meaning of
authorueno <ueno>
Tue, 16 May 2006 07:15:24 +0000 (07:15 +0000)
committerueno <ueno>
Tue, 16 May 2006 07:15:24 +0000 (07:15 +0000)
riece-username.  i.e. now riece-username represents the user's
login name and riece-realname is the replacement of the former
riece-username.
* riece-server.el (riece-server-keyword-map): New keyword :realname.

lisp/ChangeLog
lisp/riece-irc.el
lisp/riece-server.el

index 28c61e0..c5189a0 100644 (file)
@@ -1,3 +1,11 @@
+2006-05-16  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-irc.el (riece-irc-open-server): Changed the meaning of
+       riece-username.  i.e. now riece-username represents the user's
+       login name and riece-realname is the replacement of the former
+       riece-username.
+       * riece-server.el (riece-server-keyword-map): New keyword :realname.
+
 2006-05-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
 
        * riece-commands.el (riece-command-close-server): Cause error
index 2bee9d5..631a531 100644 (file)
@@ -79,8 +79,9 @@
                                       (format "PASS %s\r\n" password)))
        (riece-process-send-string process
                                   (format "USER %s * * :%s\r\n"
-                                          (user-real-login-name)
                                           (or username
+                                              (user-real-login-name))
+                                          (or realname
                                               "No information given")))
        (riece-process-send-string process (format "NICK %s\r\n" nickname))
        (with-current-buffer (process-buffer process)
index 1d09c38..8f3872a 100644 (file)
@@ -36,6 +36,7 @@
     '((:host)
       (:service 6667)
       (:nickname riece-nickname)
+      (:realname riece-realname)
       (:username riece-username)
       (:password)
       (:function riece-default-open-connection-function)