aboutsummaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kike.c b/kike.c
index 1a4affc..baa141f 100644
--- a/kike.c
+++ b/kike.c
@@ -1479,6 +1479,7 @@ irc_handle_user (const struct irc_message *msg, struct client *c)
cstr_set (&c->username, xstrdup (username));
cstr_set (&c->realname, xstrdup (realname));
+ c->mode = 0;
unsigned long m;
if (xstrtoul (&m, mode, 10))