diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-25 15:25:30 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-25 15:25:30 +0000 |
commit | 11e50c810040208e2466ae9987d48e24008398b7 (patch) | |
tree | d68dc7b39d4917bd7df41d4374a06bda23469d6f /src | |
parent | 538d452baaed6f701ae0f0c1e2b22d54e0634c9b (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nickserv.c | 6 |
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; } |