summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-25 15:09:36 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-25 15:09:36 +0000
commit6f316c732a7de1792be1a14f5a823ed9afd80fb1 (patch)
treed1a072fc181e02e8a62486356339924e678df5f5
parent26c553d0b0b4edb6088324d44c9b05c513d4253e (diff)
- 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
-rw-r--r--src/resv.c4
1 files 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);