Fix a typo that could've caused a bug

This commit is contained in:
JD Horelick 2010-03-29 03:53:55 -04:00
parent 390351fe8b
commit 10a8240ff4
1 changed files with 1 additions and 1 deletions

View File

@ -1077,7 +1077,7 @@ static void
conf_set_auth_autojoin_opers(void *data)
{
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);
yy_aconf->autojoin_opers = rb_strdup(data);
}