aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/talkproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/talkproc.c')
-rw-r--r--FICS/talkproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/talkproc.c b/FICS/talkproc.c
index cfd35b6..f04fed4 100644
--- a/FICS/talkproc.c
+++ b/FICS/talkproc.c
@@ -687,7 +687,7 @@ PRIVATE int notorcen(int p, param_list param, int *num, int max,
pprintf(p, "You can't %s yourself.\n", listname);
return COM_OK;
}
- list[*num] = strdup(parray[p1].name);
+ list[*num] = xstrdup(parray[p1].name);
++(*num);
pprintf(p, "%s is now on your %s list.\n", parray[p1].name, listname);
if (!connected)