Forgot to test the bitmask, oops.

This commit is contained in:
William Pitcock 2008-06-08 02:13:26 -05:00
parent 0866cef3c1
commit 032515f48c

View file

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