From 6f316c732a7de1792be1a14f5a823ed9afd80fb1 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 25 Apr 2013 15:09:36 +0000 Subject: - Minor fixes to new resv exempt code git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1859 82007160-df01-0410-b94d-b575c5fd34c7 --- src/resv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resv.c b/src/resv.c index 50e8dcf..6409fe4 100644 --- a/src/resv.c +++ b/src/resv.c @@ -93,12 +93,12 @@ create_resv(const char *name, const char *reason, const dlink_list *list) struct split_nuh_item nuh; struct exempt *exptr = NULL; - nuh.nuhmask = ptr->data; + nuh.nuhmask = name; nuh.nickptr = nick; nuh.userptr = user; nuh.hostptr = host; - nuh.nicksize = sizeof(name); + nuh.nicksize = sizeof(nick); nuh.usersize = sizeof(user); nuh.hostsize = sizeof(host); -- cgit