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 8e9623ab59
commit f8a8d16e52

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));