diff options
author | C. McEnroe | 2020-02-11 17:52:55 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-11 17:52:55 -0500 |
commit | cc80fae758c392807dc0cea6ab2e7f78804b6712 (patch) | |
tree | fb286e04d037c3ffdee5703de8dd19c33ef87eba /chat.c | |
parent | 277186329921ba34630b7a2492e1792133a02c67 (diff) |
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.
Diffstat (limited to 'chat.c')
-rw-r--r-- | chat.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, "@+"); |