diff options
author | June McEnroe <june@causal.agency> | 2019-10-28 00:39:16 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-28 00:39:16 -0400 |
commit | 0c964f63c5e9362d856778b0abf81fdaff004d57 (patch) | |
tree | c356a244640731ba6e39137bbb3e90e6c75fc8c6 /bounce.c | |
parent | Wait for SASL success before sending CAP END (diff) | |
download | pounce-0c964f63c5e9362d856778b0abf81fdaff004d57.tar.gz pounce-0c964f63c5e9362d856778b0abf81fdaff004d57.zip |
Move entire login flow to state and reorganize it
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 2 |
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); |