+2004-11-25 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-server.el (riece-server-properties): New function.
+
2004-11-22 Daiki Ueno <ueno@unixuser.org>
* riece-display.el (riece-update-status-indicators): Format
(throw 'found t))
(setq alist (cdr alist)))))))
+(defun riece-server-properties (server-name)
+ "Return a list of properties associated with SERVER-NAME."
+ (if (equal server-name "")
+ riece-server
+ (let ((entry (assoc server-name riece-server-alist)))
+ (unless entry
+ (error "No such server"))
+ (cdr entry))))
+
(provide 'riece-server)
;;; riece-server.el ends here