Added auto reconnect, and /reconnect command to control interval

This commit is contained in:
James Booth
2012-11-25 02:14:38 +00:00
parent 66d3e6ee02
commit 921f026cba
6 changed files with 129 additions and 32 deletions

View File

@@ -1103,6 +1103,15 @@ cons_prefs(void)
cons_show("Priority : %d", prefs_get_priority());
gint reconnect_interval = prefs_get_reconnect();
if (reconnect_interval == 0) {
cons_show("Reconnect interval : OFF");
} else if (remind_period == 1) {
cons_show("Reconnect interval : 1 second");
} else {
cons_show("Reconnect interval : %d seconds", reconnect_interval);
}
cons_show("");
if (current_index == 0) {