* riece-300.el (riece-handle-366-message): Don't use riece-user-regexp.
authorueno <ueno>
Mon, 4 Apr 2005 07:22:03 +0000 (07:22 +0000)
committerueno <ueno>
Mon, 4 Apr 2005 07:22:03 +0000 (07:22 +0000)
(riece-handle-302-message): Ditto.
(riece-handle-313-message): Ditto.

lisp/ChangeLog
lisp/riece-300.el

index 4730246..c0b329f 100644 (file)
@@ -1,6 +1,8 @@
 2005-04-04  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-300.el (riece-handle-366-message): Don't use riece-user-regexp.
+       (riece-handle-302-message): Ditto.
+       (riece-handle-313-message): Ditto.
 
 2005-03-22  Daiki Ueno  <ueno@unixuser.org>
 
index 70032e8..2f758dc 100644 (file)
@@ -40,8 +40,7 @@
                               " ")))
     (while replies
       (if (string-match
-          (concat "^\\(" riece-user-regexp
-                  "\\)\\(\\*\\)?=\\([-+]\\)\\([^ ]+\\)")
+          (concat "^\\([^ ]+\\)\\(\\*\\)?=\\([-+]\\)\\([^ ]+\\)")
           (car replies))
          (let ((user (match-string 1 (car replies)))
                (operator (not (null (match-beginning 2))))
        "\n"))))
 
 (defun riece-handle-313-message (prefix number name string)
-  (if (string-match (concat "^" riece-user-regexp) string)
+  (if (string-match "^[^ ]+" string)
       (let ((user (match-string 0 string)))
        (riece-insert-info
         (list riece-dialogue-buffer riece-others-buffer)