From cc80fae758c392807dc0cea6ab2e7f78804b6712 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Tue, 11 Feb 2020 17:52:55 -0500 Subject: Set self.nick to * initially Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. --- chat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'chat.c') diff --git a/chat.c b/chat.c index f854a33..afc3015 100644 --- a/chat.c +++ b/chat.c @@ -145,6 +145,7 @@ int main(int argc, char *argv[]) { if (!user) user = nick; if (!real) real = nick; + set(&self.nick, "*"); set(&self.network, host); set(&self.chanTypes, "#&"); set(&self.prefixes, "@+"); -- cgit 1.4.1-2-gfad0