From dcf5e9ef169aba102b9035f05b55e338de2001a8 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 4 Oct 2012 22:09:33 +0100 Subject: Removed /ros command --- src/command.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 240220c6..524c6c04 100644 --- a/src/command.c +++ b/src/command.c @@ -63,7 +63,6 @@ static gboolean _cmd_quit(const char * const inp, struct cmd_help_t help); static gboolean _cmd_help(const char * const inp, struct cmd_help_t help); static gboolean _cmd_prefs(const char * const inp, struct cmd_help_t help); static gboolean _cmd_who(const char * const inp, struct cmd_help_t help); -static gboolean _cmd_ros(const char * const inp, struct cmd_help_t help); static gboolean _cmd_connect(const char * const inp, struct cmd_help_t help); static gboolean _cmd_msg(const char * const inp, struct cmd_help_t help); static gboolean _cmd_tiny(const char * const inp, struct cmd_help_t help); @@ -153,15 +152,6 @@ static struct cmd_t main_commands[] = "Example : /tiny http://www.google.com", NULL } } }, - { "/ros", - _cmd_ros, - { "/ros", "List all contacts.", - { "/ros", - "----", - "List all contact currently on the chat hosts roster.", - "See /who for a more useful list of contacts who are currently online.", - NULL } } }, - { "/who", _cmd_who, { "/who", "Find out who is online.", @@ -560,19 +550,6 @@ _cmd_prefs(const char * const inp, struct cmd_help_t help) return TRUE; } -static gboolean -_cmd_ros(const char * const inp, struct cmd_help_t help) -{ - jabber_conn_status_t conn_status = jabber_get_connection_status(); - - if (conn_status != JABBER_CONNECTED) - cons_show("You are not currently connected."); - else - jabber_roster_request(); - - return TRUE; -} - static gboolean _cmd_who(const char * const inp, struct cmd_help_t help) { -- cgit 1.4.1-2-gfad0