riece-username if set.
* riece-server.el (riece-server-keyword-map): Bind :realname.
* riece-options.el (riece-realname): Rename from riece-username.
(riece-username): New user option.
2004-12-13 Daiki Ueno <ueno@unixuser.org>
+ * riece-irc.el (riece-irc-open-server): Send USER command with
+ riece-username if set.
+ * riece-server.el (riece-server-keyword-map): Bind :realname.
+ * riece-options.el (riece-realname): Rename from riece-username.
+ (riece-username): New user option.
+
+2004-12-13 Daiki Ueno <ueno@unixuser.org>
+
* riece-display.el (riece-update-channel-list-indicator):
Normalize modeline indicator.
(format "PASS %s\r\n" password)))
(riece-process-send-string process
(format "USER %s * * :%s\r\n"
- (user-real-login-name)
- (or username
+ (if (and username
+ (not (string-match
+ "[^\0\r\n @]"
+ username)))
+ username
+ (user-real-login-name))
+ (or realname
+ username
"No information given")))
(riece-process-send-string process (format "NICK %s\r\n" nickname))
(with-current-buffer (process-buffer process)
(const :tag "No" nil))
:group 'riece-server)
-(defcustom riece-username (or (getenv "IRCNAME")
- user-full-name)
+(defcustom riece-username nil
"Your user name."
:type 'string
:group 'riece-server)
+(defcustom riece-realname (or (getenv "IRCNAME")
+ user-full-name)
+ "Your real name."
+ :type 'string
+ :group 'riece-server)
+
(defcustom riece-nickname (or (getenv "IRCNICK")
(user-real-login-name))
"Your nickname."
(:service 6667)
(:nickname riece-nickname)
(:username riece-username)
+ (:realname riece-realname)
(:password)
(:function riece-default-open-connection-function)
(:coding riece-default-coding-system))