Fix a typo that could've caused a bug
This commit is contained in:
parent
390351fe8b
commit
10a8240ff4
|
@ -1077,7 +1077,7 @@ static void
|
||||||
conf_set_auth_autojoin_opers(void *data)
|
conf_set_auth_autojoin_opers(void *data)
|
||||||
{
|
{
|
||||||
if(yy_aconf->autojoin_opers)
|
if(yy_aconf->autojoin_opers)
|
||||||
memset(yy_aconf->autojoin_opers, 0, strlen(yy_aconf->autojoin));
|
memset(yy_aconf->autojoin_opers, 0, strlen(yy_aconf->autojoin_opers));
|
||||||
rb_free(yy_aconf->autojoin_opers);
|
rb_free(yy_aconf->autojoin_opers);
|
||||||
yy_aconf->autojoin_opers = rb_strdup(data);
|
yy_aconf->autojoin_opers = rb_strdup(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue