From 10a8240ff4cab63e3d2d683662277031b70e401f Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Mon, 29 Mar 2010 03:53:55 -0400 Subject: [PATCH] Fix a typo that could've caused a bug --- src/newconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newconf.c b/src/newconf.c index cdd3a99..08f22ac 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -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); }