diff options
author | James Booth <boothj5@gmail.com> | 2012-10-04 22:09:33 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-04 22:09:33 +0100 |
commit | dcf5e9ef169aba102b9035f05b55e338de2001a8 (patch) | |
tree | dd64e16565a191aac34dd37496f7f9275ce78ee7 /src/command.c | |
parent | 65022b3c2f437b118c92622aff5115bcf4568323 (diff) | |
download | profani-tty-dcf5e9ef169aba102b9035f05b55e338de2001a8.tar.gz |
Removed /ros command
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 23 |
1 files changed, 0 insertions, 23 deletions
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.", @@ -561,19 +551,6 @@ _cmd_prefs(const char * const inp, struct cmd_help_t help) } 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) { jabber_conn_status_t conn_status = jabber_get_connection_status(); |