Add self.nick to completion in Network, not None

weechat-hashes
C. McEnroe 2020-02-09 02:16:17 -05:00
parent 2d62ea9e30
commit 82cf445858
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ static void handleErrorSASLFail(struct Message *msg) {
static void handleReplyWelcome(struct Message *msg) { static void handleReplyWelcome(struct Message *msg) {
require(msg, false, 1); require(msg, false, 1);
set(&self.nick, msg->params[0]); set(&self.nick, msg->params[0]);
completeTouch(None, self.nick, Default); completeTouch(Network, self.nick, Default);
if (self.join) { if (self.join) {
size_t count = 1; size_t count = 1;
for (const char *ch = self.join; *ch && *ch != ' '; ++ch) { for (const char *ch = self.join; *ch && *ch != ' '; ++ch) {