From: Joseph Gay <gilleylen@gmail.com>
To: emacs-devel@gnu.org
Cc: Michael Olson <mwolson@gnu.org>
Subject: [PATCH 1/2] modifying erc-login to conditionally send appropriate CAP request for SASL
Date: Wed, 01 Feb 2012 12:19:10 -0600 [thread overview]
Message-ID: <87ty3ae7s1.fsf@geneva.hpsy.me> (raw)
Submitted for your approval. I will need forms for copyright assignment.
This adds support for SASL PLAIN authentication. Freenode, for example,
requires SASL when connecting over TOR and when using the AT&T mobile
network.
---
erc.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/erc.el b/erc.el
index 6e37f36..83caa43 100644
--- a/erc.el
+++ b/erc.el
@@ -5634,6 +5634,8 @@ user input."
(if erc-session-password
(erc-server-send (format "PASS %s" erc-session-password))
(message "Logging in without password"))
+ (when (and (boundp 'erc-sasl-use-sasl) erc-sasl-use-sasl)
+ (erc-server-send "CAP REQ :sasl"))
(erc-server-send (format "NICK %s" (erc-current-nick)))
(erc-server-send
(format "USER %s %s %s :%s"
--
1.7.2.5
next reply other threads:[~2012-02-01 18:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 18:19 Joseph Gay [this message]
2012-02-01 18:22 ` [PATCH 2/2] response handlers needed for SASL PLAIN authentication Joseph Gay
2012-02-01 18:32 ` Joseph Gay
2012-04-19 4:35 ` Joseph Gay
2012-04-19 17:01 ` Glenn Morris
2012-04-19 17:03 ` Glenn Morris
2012-04-19 17:21 ` Glenn Morris
2012-02-02 9:22 ` [PATCH 1/2] modifying erc-login to conditionally send appropriate CAP request for SASL Joseph Gay
2012-04-19 4:32 ` Joseph Gay
2012-04-19 16:58 ` Glenn Morris
2012-04-20 1:06 ` Joseph Gay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ty3ae7s1.fsf@geneva.hpsy.me \
--to=gilleylen@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mwolson@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).