Commit c47971d7 authored by Deniz Dogan's avatar Deniz Dogan
Browse files

* lisp/net/rcirc.el (rcirc-handler-001): Remove useless

with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
parent 0be6f4f1
2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
* net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.
2011-03-09 Glenn Morris <rgm@gnu.org>
 
* shell.el (shell-mode):
......
......@@ -2449,8 +2449,7 @@ keywords when no KEYWORD is given."
(if rcirc-auto-authenticate-flag
(if rcirc-authenticate-before-join
(progn
(with-rcirc-process-buffer process
(add-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t t))
(add-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t t)
(rcirc-authenticate))
(rcirc-authenticate)
(rcirc-join-channels process rcirc-startup-channels))
......@@ -2515,7 +2514,7 @@ the only argument."
(and ;; quakenet
(string= sender "Q")
(string= target rcirc-nick)
(string-match message "\\`You are now logged in as .+\\.\\'")))
(string-match "\\`You are now logged in as .+\\.\\'" message)))
(setq rcirc-user-authenticated t)
(run-hook-with-args 'rcirc-authenticated-hook process)
(remove-hook 'rcirc-authenticated-hook 'rcirc-join-channels-post-auth t))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment