summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-26 22:15:47 -0400
committerJune McEnroe <june@causal.agency>2019-10-26 22:15:47 -0400
commit437162dca3dff21272328908054b37b19351a228 (patch)
treefccdb95a24d24398356d5dfa0986fefcc27d34b0 /server.c
parentRespond to PING with same parameter (diff)
downloadpounce-437162dca3dff21272328908054b37b19351a228.tar.gz
pounce-437162dca3dff21272328908054b37b19351a228.zip
Wait for AUTHENTICATE + from server
Diffstat (limited to '')
-rw-r--r--server.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/server.c b/server.c
index 3dec684..964b15b 100644
--- a/server.c
+++ b/server.c
@@ -159,12 +159,7 @@ void serverLogin(
 
 void serverAuth(void) {
 	assert(authPlain);
-	serverFormat(
-		"AUTHENTICATE PLAIN\r\n"
-		"AUTHENTICATE %s\r\n"
-		"CAP END\r\n",
-		authPlain
-	);
+	serverFormat("AUTHENTICATE %s\r\nCAP END\r\n", authPlain);
 	free(authPlain);
 	authPlain = NULL;
 }