From 11e50c810040208e2466ae9987d48e24008398b7 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 25 May 2005 15:25:30 +0000 Subject: BUILD : 1.7.10 (813) BUGS : 380 NOTES : Fixed a bug with listnicks option displaying git-svn-id: svn://svn.anope.org/anope/trunk@813 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@566 5417fbe8-f217-4b02-8779-1006273d7864 --- src/nickserv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit