Use correct TYPE value for displaying error messages in (erc-display-message)

This commit is contained in:
Vibhav Pant 2016-09-24 11:41:44 +05:30
parent 65dc67c875
commit eb81a83abb
2 changed files with 2 additions and 2 deletions

View file

@ -2002,7 +2002,7 @@ See `erc-display-server-message'." nil
"You need to be a channel operator to do that." nil
(let ((channel (cadr (erc-response.command-args parsed)))
(message (erc-response.contents parsed)))
(erc-display-message parsed '(error notice) 'active 's482
(erc-display-message parsed '(notice error) 'active 's482
?c channel ?m message)))
(define-erc-response-handler (671)

View file

@ -1005,7 +1005,7 @@ rather than every 1024 byte block, but nobody seems to care."
((and (> (plist-get erc-dcc-entry-data :size) 0)
(> received-bytes (plist-get erc-dcc-entry-data :size)))
(erc-display-message
nil '(error notice) 'active
nil '(notice error) 'active
'dcc-get-file-too-long
?f (file-name-nondirectory buffer-file-name))
(delete-process proc))