diff options
author | James Booth <boothj5@gmail.com> | 2014-10-18 19:19:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-10-18 19:19:01 +0100 |
commit | 0cc25e1b763cbf396a0bb397183761fc7399b4fe (patch) | |
tree | 962740bebc0375ffd33526143b69733c8d512fba /src/ui | |
parent | 77674beb7e8f82716f17e7d0dd60d989b54ed6d1 (diff) | |
download | profani-tty-0cc25e1b763cbf396a0bb397183761fc7399b4fe.tar.gz |
Removed debug messages when setting roles/affiliations
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 20 | ||||
-rw-r--r-- | src/ui/ui.h | 2 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 40157716..5868f5e6 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -2044,15 +2044,6 @@ _ui_handle_room_affiliation_set_error(const char * const room, const char * cons } static void -_ui_handle_room_affiliation_set(const char * const room, const char * const jid, const char * const affiliation) -{ - ProfWin *window = wins_get_by_recipient(room); - if (window) { - win_save_vprint(window, '!', NULL, 0, 0, "", "Affiliation for %s set: %s", jid, affiliation); - } -} - -static void _ui_handle_room_role_set_error(const char * const room, const char * const nick, const char * const role, const char * const error) { @@ -2063,15 +2054,6 @@ _ui_handle_room_role_set_error(const char * const room, const char * const nick, } static void -_ui_handle_room_role_set(const char * const room, const char * const nick, const char * const role) -{ - ProfWin *window = wins_get_by_recipient(room); - if (window) { - win_save_vprint(window, '!', NULL, 0, 0, "", "Role for %s set: %s", nick, role); - } -} - -static void _ui_status(void) { char *recipient = ui_current_recipient(); @@ -3135,7 +3117,6 @@ ui_init_module(void) ui_handle_room_affiliation_list_error = _ui_handle_room_affiliation_list_error; ui_handle_room_affiliation_list = _ui_handle_room_affiliation_list; ui_handle_room_affiliation_set_error = _ui_handle_room_affiliation_set_error; - ui_handle_room_affiliation_set = _ui_handle_room_affiliation_set; ui_handle_room_kick_error = _ui_handle_room_kick_error; ui_room_destroyed = _ui_room_destroyed; ui_room_kicked = _ui_room_kicked; @@ -3144,7 +3125,6 @@ ui_init_module(void) ui_room_member_kicked = _ui_room_member_kicked; ui_room_member_banned = _ui_room_member_banned; ui_handle_room_role_set_error = _ui_handle_room_role_set_error; - ui_handle_room_role_set = _ui_handle_room_role_set; ui_handle_room_role_list_error = _ui_handle_room_role_list_error; ui_handle_room_role_list = _ui_handle_room_role_list; ui_muc_roster = _ui_muc_roster; diff --git a/src/ui/ui.h b/src/ui/ui.h index 7c86e933..4048b3a5 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -199,10 +199,8 @@ void (*ui_handle_room_affiliation_list_error)(const char * const room, const cha void (*ui_handle_room_affiliation_list)(const char * const room, const char * const affiliation, GSList *jids); void (*ui_handle_room_affiliation_set_error)(const char * const room, const char * const jid, const char * const affiliation, const char * const error); -void (*ui_handle_room_affiliation_set)(const char * const room, const char * const jid, const char * const affiliation); void (*ui_handle_room_role_set_error)(const char * const room, const char * const nick, const char * const role, const char * const error); -void (*ui_handle_room_role_set)(const char * const room, const char * const nick, const char * const role); void (*ui_handle_room_role_list_error)(const char * const room, const char * const role, const char * const error); void (*ui_handle_room_role_list)(const char * const room, const char * const role, GSList *nicks); void (*ui_handle_room_kick_error)(const char * const room, const char * const nick, const char * const error); |