about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-09 02:16:17 -0500
committerJune McEnroe <june@causal.agency>2020-02-09 02:16:17 -0500
commit82cf44585831ea5a237f3b603a9d8ffd2d350b54 (patch)
tree40f23515399d12a08da0ec8cd07fcf57bedaecba /handle.c
parentSimplify edit buffer conversion and input rendering (diff)
downloadcatgirl-82cf44585831ea5a237f3b603a9d8ffd2d350b54.tar.gz
catgirl-82cf44585831ea5a237f3b603a9d8ffd2d350b54.zip
Add self.nick to completion in Network, not None
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 0297595..2cc7a25 100644
--- a/handle.c
+++ b/handle.c
@@ -157,7 +157,7 @@ static void handleErrorSASLFail(struct Message *msg) {
 static void handleReplyWelcome(struct Message *msg) {
 	require(msg, false, 1);
 	set(&self.nick, msg->params[0]);
-	completeTouch(None, self.nick, Default);
+	completeTouch(Network, self.nick, Default);
 	if (self.join) {
 		size_t count = 1;
 		for (const char *ch = self.join; *ch && *ch != ' '; ++ch) {