Changeset 9c7ef22


Ignore:
Timestamp:
2016-12-26T00:31:18Z (2 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
26eed8a
Parents:
59ccef5
Message:

nick_strip: accept null irc parameter

Sometimes I'm randomly reminded that we have a test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    r59ccef5 r9c7ef22  
    293293{
    294294        int len = 0;
    295         gboolean nick_underscores = set_getbool(&irc->b->set, "nick_underscores");
     295        gboolean nick_underscores = irc ? set_getbool(&irc->b->set, "nick_underscores") : FALSE;
    296296
    297297        if (irc && (irc->status & IRC_UTF8_NICKS)) {
Note: See TracChangeset for help on using the changeset viewer.