* Riece: Version 3.1.2 released.
[elisp/riece.git] / lisp / riece-misc.el
index ebb9234..fb511b5 100644 (file)
@@ -19,8 +19,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Code:
 
@@ -32,7 +32,7 @@
 (require 'riece-server)
 (require 'riece-user)
 (require 'riece-mode)
-(require 'riece-lru)
+(require 'riece-cache)
 
 (defun riece-get-buffer-create (name &optional init-major-mode)
   (let ((buffer (get-buffer name)))
         (setq identities
               (cons (riece-make-identity (symbol-name user) server-name)
                     identities)))
-       (riece-lru-map-hash-obarray riece-user-lru))
+       (riece-cache-hash-obarray riece-user-cache))
       identities)))
 
 (defun riece-get-channels-on-server (server-name)
         (setq identities
               (cons (riece-make-identity (symbol-name channel) server-name)
                     identities)))
-       riece-channel-obarray)
+       (riece-cache-hash-obarray riece-channel-cache))
       identities)))
 
 (defun riece-get-identities-on-server (server-name)