diff options
author | James Booth <boothj5@gmail.com> | 2014-10-12 01:10:46 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-10-12 01:10:46 +0100 |
commit | 77684cda007391ba57cfbaea22bde071bee2925d (patch) | |
tree | f2e81c7984f861a618d90d4cd5f55c7e27f08fc8 /src/ui/core.c | |
parent | 8b1d0bdc3f4b1577a0fff767f670174c2b20113d (diff) | |
download | profani-tty-77684cda007391ba57cfbaea22bde071bee2925d.tar.gz |
Allow /role list and /affiliation list with no args
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 58434eab..016a61e7 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1936,6 +1936,7 @@ _ui_handle_room_affiliation_list(const char * const room, const char * const aff win_save_print(window, '!', NULL, 0, 0, "", ""); } else { win_save_vprint(window, '!', NULL, 0, 0, "", "No users found with affiliation: %s", affiliation); + win_save_print(window, '!', NULL, 0, 0, "", ""); } } } @@ -1974,6 +1975,7 @@ _ui_handle_room_role_list(const char * const room, const char * const role, GSLi win_save_print(window, '!', NULL, 0, 0, "", ""); } else { win_save_vprint(window, '!', NULL, 0, 0, "", "No occupants found with role: %s", role); + win_save_print(window, '!', NULL, 0, 0, "", ""); } } } |