* riece-lsdb.el (riece-lsdb-add-user): Always pass canonical
authorueno <ueno>
Sun, 4 Jan 2004 06:22:15 +0000 (06:22 +0000)
committerueno <ueno>
Sun, 4 Jan 2004 06:22:15 +0000 (06:22 +0000)
address for 'net entry.

lisp/ChangeLog
lisp/riece-lsdb.el

index 018ea23..2fafafa 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-lsdb.el (riece-lsdb-add-user): Always pass canonical
+       address for 'net entry.
+
 2004-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * riece-300.el (riece-handle-317-message): Fix regexp for signon
index 4d1044f..b477adc 100644 (file)
     ;; Remove all properties before adding entry.
     (set-text-properties 0 (length irc) nil irc)
     (unless (member irc old)
-      (lsdb-update-record (list full-name)
+      (lsdb-update-record (list full-name
+                               ;; LSDB does not allow empty 'net entry.
+                               (or (nth 1 (assq 'net (lsdb-lookup-records
+                                                      full-name)))
+                                   ""))
                          (list (cons 'irc (cons irc old)))))))
 
 (defun riece-lsdb-insinuate ()