diff options
author | l3thal <l3thal@debian> | 2014-11-08 20:51:43 -0500 |
---|---|---|
committer | l3thal <l3thal@debian> | 2014-11-08 20:51:43 -0500 |
commit | d1036d288de1e047f7f6043188a1063f0d6b044d (patch) | |
tree | 539b06df3227d25928e2a78f8144bf4242be67f9 /lisp/erc/erc-backend.el | |
parent | 7d8205619a95e44ec5c4d589c538c6616e64483b (diff) | |
download | emacs-d1036d288de1e047f7f6043188a1063f0d6b044d.tar.gz emacs-d1036d288de1e047f7f6043188a1063f0d6b044d.tar.bz2 emacs-d1036d288de1e047f7f6043188a1063f0d6b044d.zip |
backport: erc bugfixes
Diffstat (limited to 'lisp/erc/erc-backend.el')
-rw-r--r-- | lisp/erc/erc-backend.el | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 01fdfc54d1d..fb22f58822d 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -679,7 +679,7 @@ Conditionally try to reconnect and take appropriate action." (when (buffer-live-p buf) (with-current-buffer buf (erc-log (format - "SENTINEL: proc: %S status: %S event: %S (quitting: %S)" + "SENTINEL: proc: %S status: %S event: %S (quitting: %S)" cproc (process-status cproc) event erc-server-quitting)) (if (string-match "^open" event) ;; newly opened connection (no wait) @@ -1208,7 +1208,6 @@ add things to `%s' instead." parsed 'notice 'active 'INVITE ?n nick ?u login ?h host ?c chnl))))) - (define-erc-response-handler (JOIN) "Handle join messages." nil @@ -1244,7 +1243,7 @@ add things to `%s' instead." (erc-format-message 'JOIN ?n nick ?u login ?h host ?c chnl)))))) (when buffer (set-buffer buffer)) - (erc-update-channel-member chnl nick nick t nil nil host login) + (erc-update-channel-member chnl nick nick t nil nil nil nil nil host login) ;; on join, we want to stay in the new channel buffer ;;(set-buffer ob) (erc-display-message parsed nil buffer str)))))) @@ -1413,7 +1412,7 @@ add things to `%s' instead." ;; message. We will accumulate private identities indefinitely ;; at this point. (erc-update-channel-member (if privp nick tgt) nick nick - privp nil nil host login nil nil t) + privp nil nil nil nil nil host login nil nil t) (let ((cdata (erc-get-channel-user nick))) (setq fnick (funcall erc-format-nick-function (car cdata) (cdr cdata)))))) @@ -1466,11 +1465,10 @@ add things to `%s' instead." "The channel topic has changed." nil (let* ((ch (car (erc-response.command-args parsed))) (topic (erc-trim-string (erc-response.contents parsed))) - (time (format-time-string erc-server-timestamp-format - (current-time)))) + (time (format-time-string erc-server-timestamp-format))) (pcase-let ((`(,nick ,login ,host) (erc-parse-user (erc-response.sender parsed)))) - (erc-update-channel-member ch nick nick nil nil nil host login) + (erc-update-channel-member ch nick nick nil nil nil nil nil nil host login) (erc-update-channel-topic ch (format "%s\C-o (%s, %s)" topic nick time)) (erc-display-message parsed 'notice (erc-get-buffer ch proc) 'TOPIC ?n nick ?u login ?h host @@ -1800,8 +1798,7 @@ See `erc-display-server-message'." nil (when (string-match "\\(^[0-9]+ \\)\\(.*\\)$" full-name) (setq hopcount (match-string 1 full-name)) (setq full-name (match-string 2 full-name))) - (erc-update-channel-member channel nick nick nil nil nil host - user full-name) + (erc-update-channel-member channel nick nick nil nil nil nil nil nil host user full-name) (erc-display-message parsed 'notice 'active 's352 ?c channel ?n nick ?a away-flag ?u user ?h host ?f full-name)))) |