From 3aa4e417b9c71f99f573ba298efbf208148cfad5 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 7 Jan 2010 17:50:49 -0600 Subject: [PATCH] Make this work again. --- modules/m_resv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/m_resv.c b/modules/m_resv.c index 52d2e63..0ddd10c 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -235,7 +235,7 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te temp_time / 60, name); } else - bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0); + bandb_add(BANDB_RESV, source_p, aconf->name, NULL, aconf->passwd, NULL, 0); } else if(clean_resv_nick(name)) { @@ -288,7 +288,7 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te temp_time / 60, name); } else - bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0); + bandb_add(BANDB_RESV, source_p, aconf->name, NULL, aconf->passwd, NULL, 0); } else sendto_one_notice(source_p, ":You have specified an invalid resv: [%s]", name);