* rcirc.el (rcirc-implemented-capabilities): Add capability
(rcirc-user-nick): Handle multiple prefixes
"message-ids" ;https://ircv3.net/specs/extensions/message-ids
"invite-notify" ;https://ircv3.net/specs/extensions/invite-notify
"sasl" ;https://ircv3.net/specs/extensions/sasl-3.1
+ "multi-prefix" ;https://ircv3.net/specs/extensions/multi-prefix
)
"A list of capabilities that rcirc supports.")
(defvar-local rcirc-requested-capabilities nil
"Return the nick from USER. Remove any non-nick junk."
(save-match-data
(if (string-match (concat "^[" rcirc-nick-prefix-chars
- "]?\\([^! ]+\\)!?") (or user ""))
+ "]*\\([^! ]+\\)!?")
+ (or user ""))
(match-string 1 user)
user)))