* riece.el (riece): Scan riece-startup-channel-list and open servers.
authorueno <ueno>
Tue, 5 Oct 2004 23:08:55 +0000 (23:08 +0000)
committerueno <ueno>
Tue, 5 Oct 2004 23:08:55 +0000 (23:08 +0000)
lisp/ChangeLog
lisp/riece.el

index fecf400..67daa33 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-05  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece.el (riece): Scan riece-startup-channel-list and open servers.
+
 2004-09-27  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-options.el (riece-send-delay): Set default to 2.
index 33d3030..e815b16 100644 (file)
@@ -310,6 +310,14 @@ If optional argument CONFIRM is non-nil, ask which IRC server to connect."
        (while server-list
          (riece-command-open-server (car server-list))
          (setq server-list (cdr server-list))))
+      (let ((channel-list riece-startup-channel-list)
+           server)
+       (while channel-list
+         (setq server (riece-identity-server
+                       (riece-parse-identity (car channel-list))))
+         (unless (riece-server-opened server)
+           (riece-command-open-server server))
+         (setq channel-list (cdr channel-list))))
       (let ((pointer riece-addons))
        (while pointer
          (unless (get (car pointer) 'riece-addon-default-disabled)