(if (and (not (ring-empty-p riece-channel-history))
(riece-identity-equal identity (ring-ref riece-channel-history 0)))
(let ((string (riece-format-identity identity))
- (start 0)
- extent)
+ (start 0))
;; Escape % -> %%.
(while (string-match "%" string start)
(setq start (1+ (match-end 0))