Added /room config command

This commit is contained in:
James Booth
2014-09-03 00:36:42 +01:00
parent 57effcd504
commit 52a9ab6909
3 changed files with 56 additions and 0 deletions

View File

@@ -1786,6 +1786,20 @@ cmd_decline(gchar **args, struct cmd_help_t help)
return TRUE;
}
gboolean
cmd_room(gchar **args, 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.");
return TRUE;
}
cons_show("You said %s.", args[1]);
return TRUE;
}
gboolean
cmd_rooms(gchar **args, struct cmd_help_t help)
{