Changeset acd7959


Ignore:
Timestamp:
2010-08-19T12:21:22Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bad41f56
Parents:
763a3ab
Message:

Forgot one NULL pointer check in the channel sensitivity code for the blist
command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r763a3ab racd7959  
    10081008        irc_usermsg( irc, format, "Nick", "Handle/Account", "Status" );
    10091009       
    1010         if( strcmp( set_getstr( &irc->root->last_channel->set, "type" ), "control" ) != 0 )
     1010        if( irc->root->last_channel &&
     1011            strcmp( set_getstr( &irc->root->last_channel->set, "type" ), "control" ) != 0 )
    10111012                irc->root->last_channel = NULL;
    10121013       
Note: See TracChangeset for help on using the changeset viewer.