Get rid of ", " at the start of some oper privs strings.

This commit is contained in:
Jilles Tjoelker 2008-06-18 21:58:43 +02:00
parent 1728a2acd0
commit 3e6a6891a1
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ get_oper_privs(int flags)
for(i = 0; oper_flagtable[i].flag; i++)
if (flags & oper_flagtable[i].flag)
{
if(i)
if(*buf != '\0')
rb_strlcat(buf, ", ", sizeof(buf));
rb_strlcat(buf, oper_flagtable[i].name, sizeof(buf));