diff options
| -rw-r--r-- | root_commands.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/root_commands.c b/root_commands.c index d90531eb..b3a7109e 100644 --- a/root_commands.c +++ b/root_commands.c @@ -308,7 +308,7 @@ static int cmd_set_real( irc_t *irc, char **cmd, cmd_set_findhead findhead, cmd_  		set_t *s = set_find( head, set_name );  		int st; -		if( checkflags && checkflags( irc, s ) == 0 ) +		if( s && checkflags && checkflags( irc, s ) == 0 )  			return 0;  		if( g_strncasecmp( cmd[1], "-del", 4 ) == 0 ) | 
