From a5a225c52c39f438a95b0ed2481ee273aab02640 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Fri, 18 Jun 2021 12:28:09 -0400 Subject: Add -m mode option to set user modes --- handle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'handle.c') diff --git a/handle.c b/handle.c index de5bc43..0a5d95c 100644 --- a/handle.c +++ b/handle.c @@ -241,6 +241,7 @@ static void handleReplyWelcome(struct Message *msg) { require(msg, false, 1); set(&self.nick, msg->params[0]); completeTouch(Network, self.nick, Default); + if (self.mode) ircFormat("MODE %s %s\r\n", self.nick, self.mode); if (self.join) { uint count = 1; for (const char *ch = self.join; *ch && *ch != ' '; ++ch) { -- cgit 1.4.1-2-gfad0