summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nickserv.c')
-rw-r--r--src/nickserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index a68916c82..9a354f2be 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -117,17 +117,17 @@ void listnicks(int count_only, const char *nick)
need_comma = 1;
}
if (na->nc->flags & NI_SECURE) {
- end += snprintf(buf, sizeof(buf) - (end - buf), "%sSecurity",
+ end += snprintf(end, sizeof(buf) - (end - buf), "%sSecurity",
need_comma ? commastr : "");
need_comma = 1;
}
if (na->nc->flags & NI_PRIVATE) {
- end += snprintf(buf, sizeof(buf) - (end - buf), "%sPrivate",
+ end += snprintf(end, sizeof(buf) - (end - buf), "%sPrivate",
need_comma ? commastr : "");
need_comma = 1;
}
if (na->status & NS_NO_EXPIRE) {
- end += snprintf(buf, sizeof(buf) - (end - buf), "%sNo Expire",
+ end += snprintf(end, sizeof(buf) - (end - buf), "%sNo Expire",
need_comma ? commastr : "");
need_comma = 1;
}