summaryrefslogtreecommitdiff
path: root/src/s_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_user.c')
-rw-r--r--src/s_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_user.c b/src/s_user.c
index 30e7470..7b37912 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -1382,9 +1382,9 @@ add_isupport(const char *name, const char *options, int n)
dlinkAddTail(support, &support->node, &support_list);
}
- DupString(support->name, name);
+ support->name = xstrdup(name);
if (options != NULL)
- DupString(support->options, options);
+ support->options = xstrdup(options);
support->number = n;
rebuild_isupport_message_line();