]> git.eshelyaron.com Git - emacs.git/commit
Check rcirc-server for auto authentication (Bug#10162)
authorSteve Scott <steve@stevescott.ca>
Mon, 3 Jun 2019 00:55:34 +0000 (21:55 -0300)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 6 Jun 2019 00:30:23 +0000 (20:30 -0400)
commitcd3221ab0f8dbde584a76c2648cc9029e63bd8d1
tree859af86fe755d973d99fbbcb9f71176e78da22f7
parentda118e6a7c5d1d1d07fd186b0ae5e60340ac9dca
Check rcirc-server for auto authentication (Bug#10162)

Since the hostname returned by irc.freenode.net can be something other
than irc.freenode.net, e.g. niven.freenode.net, the entries for
rcirc-authinfo and rcirc-server-alist will not match.
* lisp/net/rcirc.el (rcirc-handler-001): Check rcirc-server (the
hostname connected to) instead of rcirc-server-name (the hostname
returned), this corresponds with what rcirc-authenticate does.
Moreover, if rcirc-auto-authenticate-flag is set, check the
corresponding rcirc-authinfo, regardless of whether the
rcirc-authenticate-before-join must happen.

Copyright-paperwork-exempt: yes
lisp/net/rcirc.el