2003-06-11 Daiki Ueno <ueno@unixuser.org>
- * riece-identity.el (riece-identity-member): Assume that each
- element of list is identity object.
- (riece-identity-member-no-server): Ditto.
-
* riece-handle.el (riece-handle-nick-message): Follow the change
of riece-identity-member.
"Return non-nil if an identity ELT is an element of LIST."
(catch 'found
(while list
- (if (riece-identity-equal (car list) elt)
+ (if (and (vectorp (car list)) ;needed because
+ ;riece-current-channels
+ ;contains nil.
+ (riece-identity-equal (car list) elt))
(throw 'found list)
(setq list (cdr list))))))
take server names into account."
(catch 'found
(while list
- (if (riece-identity-equal-no-server (car list) elt)
+ (if (and (vectorp (car list)) ;needed because
+ ;riece-current-channels
+ ;contains nil.
+ (riece-identity-equal-no-server (car list) elt))
(throw 'found list)
(setq list (cdr list))))))