diff options
| -rw-r--r-- | irc_channel.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/irc_channel.c b/irc_channel.c index 50fa14b3..6ba5a4d7 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -212,6 +212,11 @@ static char *set_eval_channel_type(set_t *set, char *value)  		return SET_INVALID;  	} +	/* Skip the free/init if nothing is being changed */ +	if (ic->f == new) { +		return value; +	} +  	/* TODO: Return values. */  	if (ic->f && ic->f->_free) {  		ic->f->_free(ic); | 
