Commits

jdhore committed f1cb455

Fix a typo that could've caused a bug

  • Participants
  • Parent commits 7ffaa28

Comments (0)

Files changed (1)

File src/newconf.c

 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);
 }