/BIP commands:

- fix "(admin)" info inverted in /BIP list users
This commit is contained in:
Loc Gomez 2008-02-04 18:07:27 +01:00
parent fd5e483a49
commit 89e88f6b7b
1 changed files with 1 additions and 1 deletions

View File

@ -1568,7 +1568,7 @@ void adm_list_users(struct link_client *ic)
buf[RET_STR_LEN] = 0;
t_written += snprintf(buf, RET_STR_LEN, "* %s%s:", u->name,
(u->admin ? "": "(admin)"));
(u->admin ? "(admin)": ""));
if (t_written >= RET_STR_LEN)
goto noroom;
for (hash_it_init(&u->connections, &lit); hash_it_item(&lit);