From 9dd8be6e8d7c899ecd7059b7090889f6aa4552df Mon Sep 17 00:00:00 2001 From: ueno Date: Tue, 16 May 2006 07:15:24 +0000 Subject: [PATCH] * 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. --- lisp/ChangeLog | 8 ++++++++ lisp/riece-irc.el | 3 ++- lisp/riece-server.el | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 28c61e0..c5189a0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2006-05-16 Daiki Ueno + + * 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 * riece-commands.el (riece-command-close-server): Cause error diff --git a/lisp/riece-irc.el b/lisp/riece-irc.el index 2bee9d5..631a531 100644 --- a/lisp/riece-irc.el +++ b/lisp/riece-irc.el @@ -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) diff --git a/lisp/riece-server.el b/lisp/riece-server.el index 1d09c38..8f3872a 100644 --- a/lisp/riece-server.el +++ b/lisp/riece-server.el @@ -36,6 +36,7 @@ '((:host) (:service 6667) (:nickname riece-nickname) + (:realname riece-realname) (:username riece-username) (:password) (:function riece-default-open-connection-function) -- 1.7.10.4