Add self.nick to completion in Network, not None
parent
2d62ea9e30
commit
82cf445858
2
handle.c
2
handle.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue