diff options
Diffstat (limited to 'src/core/commands_registry.c')
| -rw-r--r-- | src/core/commands_registry.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/commands_registry.c b/src/core/commands_registry.c index 6f63178..6b0be63 100644 --- a/src/core/commands_registry.c +++ b/src/core/commands_registry.c @@ -1312,15 +1312,15 @@ void hybbx_commands_registry_show_menu(hybbx_session_t *session) } /* - * Allow-list grants are not Sysop — their menu layout has no Sysop area. - * Append filtered Sysop area so /monitor is visible when granted. + * Allow-list grants are not Sysop - their menu layout has no Monitor area. + * Append filtered Monitor area so /monitor is visible when granted. */ if (hybbx_monitor_session_may_use(session) && !hybbx_user_level_is_sysop(level)) { - const menu_area_t *sysop = area_find("Sysop"); + const menu_area_t *monitor = area_find("Monitor"); - if (sysop != NULL) { - render_area(session, sysop, level, 1); + if (monitor != NULL) { + render_area(session, monitor, level, 1); } } } @@ -1335,11 +1335,11 @@ void hybbx_commands_registry_show_index(hybbx_session_t *session) level = hybbx_session_user_level(session); hybbx_session_write_line(session, g_registry.index_header); - /* Filter by access — Sysop cmds (incl. /monitor) only for Sysop + grants. */ + /* No access filter - /index lists ALL commands for every user level. */ render_area_labels(session, (const char (*)[16])g_registry.index_labels, g_registry.index_label_count, - level, 1); + level, 0); } void hybbx_commands_registry_show_aliases(hybbx_session_t *session) |
