+2002-09-24 Daiki Ueno <ueno@unixuser.org>
+
+ * liece-handle.el (liece-handle-mode-message): Check chnlp before
+ passing mode argument to liece-channel-set-*.
+ [cf. <Bug#161779>]
+
2002-09-03 Daiki Ueno <ueno@unixuser.org>
* liece-handle.el (liece-handle-quit-message): Don't use
(while mflgs
(cond ((eq ?- (car mflgs)) (setq val nil))
((eq ?+ (car mflgs)) (setq val t))
- ((eq ?o (car mflgs))
+ ((and chnlp (eq ?o (car mflgs)))
(liece-channel-set-operator chnl (car margs) val)
(setq margs (cdr margs)))
- ((eq ?v (car mflgs))
+ ((and chnlp (eq ?v (car mflgs)))
(liece-channel-set-voice chnl (car margs) val)
(setq margs (cdr margs)))
- ((eq ?b (car mflgs))
+ ((and chnlp (eq ?b (car mflgs)))
(liece-channel-set-ban chnl (car margs) val)
(setq margs (cdr margs)))
- ((eq ?e (car mflgs))
+ ((and chnlp (eq ?e (car mflgs)))
(liece-channel-set-exception chnl (car margs) val)
(setq margs (cdr margs)))
- ((eq ?I (car mflgs))
+ ((and chnlp (eq ?I (car mflgs)))
(liece-channel-set-invite chnl (car margs) val)
(setq margs (cdr margs)))
(chnlp (liece-channel-set-mode chnl (car mflgs) val))