unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] modifying erc-login to conditionally send appropriate CAP request for SASL
@ 2012-02-01 18:19 Joseph Gay
  2012-02-01 18:22 ` [PATCH 2/2] response handlers needed for SASL PLAIN authentication Joseph Gay
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Joseph Gay @ 2012-02-01 18:19 UTC (permalink / raw)
  To: emacs-devel; +Cc: Michael Olson

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





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-04-20  1:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01 18:19 [PATCH 1/2] modifying erc-login to conditionally send appropriate CAP request for SASL Joseph Gay
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

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).