+2007-06-21 Nikita Danilov <nikita@clusterfs.com>
+
+ * riece-000.el (riece-handle-001-message): Run
+ riece-after-login-hook before joining in startup channels.
+
+ * riece-mcat.el (riece-mcat): Don't load localized messages if
+ mule is off.
+
2007-06-06 Daiki Ueno <ueno@unixuser.org>
* riece-twitter.el (riece-twitter-set-credential): New command.
(if (equal riece-server-name "")
(message (riece-mcat "Logging in to IRC server...done"))
(message (riece-mcat "Logging in to %s...done") riece-server-name))
+ (run-hooks 'riece-after-login-hook)
(let ((channel-list riece-startup-channel-list)
entry identity)
(while channel-list
(setq identity (riece-parse-identity (car entry))))
riece-server-name)
(riece-command-join-channel identity (nth 1 entry)))
- (setq channel-list (cdr channel-list))))
- (run-hooks 'riece-after-login-hook))
+ (setq channel-list (cdr channel-list)))))
(defun riece-handle-004-message (prefix number name string)
"RPL_MYINFO \"<umodes> <chnlmodes>\""
(defun riece-mcat (string)
"Translate STRING in the current language environment."
- (let ((feature (get-language-info current-language-environment
- 'riece-mcat-feature)))
+ (let ((feature (if (featurep 'mule)
+ (get-language-info current-language-environment
+ 'riece-mcat-feature))))
(if feature
(progn
(require feature)