summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-02-09 02:16:17 -0500
committerC. McEnroe2020-02-09 02:16:17 -0500
commit82cf44585831ea5a237f3b603a9d8ffd2d350b54 (patch)
tree40f23515399d12a08da0ec8cd07fcf57bedaecba
parent2d62ea9e30e7249e7f3e5bc3e60f5c8e97b3e2cc (diff)
Add self.nick to completion in Network, not None
-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) {