-/* cmd_neonserv_myaccess.c - NeonServ v5.2
- * Copyright (C) 2011 Philipp Kreil (pk910)
+/* cmd_neonserv_myaccess.c - NeonServ v5.3
+ * Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
flagPos += sprintf(flagBuf + flagPos, "v");
if((cflags & DB_CHANUSER_AUTOINVITE))
flagPos += sprintf(flagBuf + flagPos, "i");
- content[2] = flagBuf;
+ content[2] = (flagPos ? flagBuf : "");
content[3] = chanuser_row[2];
table_add(table, content);
}