summaryrefslogtreecommitdiff
path: root/src/resv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resv.c')
-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);