Commit f952c2a5 authored by Romain Bignon's avatar Romain Bignon

fix crash

parent c5163d26
......@@ -158,6 +158,9 @@ static int parse_file(int fd, const char **nicknames, const char *filename)
time_t t;
int hh, mm;
if (!p)
/* Get the nickname. */
while (strchr(" %@+<", *p))
++p; /* skip chan status */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment