summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
Diffstat (limited to 'bounce.c')
-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);