summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-28 00:39:16 -0400
committerJune McEnroe <june@causal.agency>2019-10-28 00:39:16 -0400
commit0c964f63c5e9362d856778b0abf81fdaff004d57 (patch)
treec356a244640731ba6e39137bbb3e90e6c75fc8c6 /bounce.c
parentWait for SASL success before sending CAP END (diff)
downloadpounce-0c964f63c5e9362d856778b0abf81fdaff004d57.tar.gz
pounce-0c964f63c5e9362d856778b0abf81fdaff004d57.zip
Move entire login flow to state and reorganize it
Diffstat (limited to '')
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index dcf9eab..38ddf28 100644
--- a/bounce.c
+++ b/bounce.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[]) {
 	size_t binds = listenBind(bind, 8, localHost, localPort);
 
 	int server = serverConnect(insecure, host, port);
-	serverLogin(pass, auth, nick, user, real);
+	stateLogin(pass, auth, nick, user, real);
 	while (!stateReady()) serverRecv();
 	if (join) serverFormat("JOIN :%s\r\n", join);