From 03368cb9ab91801f0bf76d9733fec2e6bb91254d Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 7 Jan 2010 17:49:08 -0600 Subject: [PATCH] Make this work again. --- modules/m_xline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/m_xline.c b/modules/m_xline.c index 59a3979..f3d87dc 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -334,8 +334,8 @@ apply_xline(struct Client *source_p, const char *name, const char *reason, int t sendto_one_notice(source_p, ":Added X-Line for [%s] [%s]", aconf->name, aconf->passwd); - bandb_add(BANDB_XLINE, source_p, aconf->host, NULL, reason, NULL, 0); - ilog(L_KLINE, "X %s 0 %s %s", get_oper_name(source_p), name, reason); + bandb_add(BANDB_XLINE, source_p, aconf->name, NULL, aconf->passwd, NULL, 0); + ilog(L_KLINE, "X %s 0 %s %s", get_oper_name(source_p), name, aconf->passwd); } rb_dlinkAddAlloc(aconf, &xline_conf_list);