Skip to content
Snippets Groups Projects
Commit 660e0725 authored by rswindell's avatar rswindell
Browse files

Display the list (-l option) header in here.

Reduce default poll timeout to 2.5 seconds.
parent e77dff24
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,8 @@ lib.read_sys_list(); ...@@ -50,7 +50,8 @@ lib.read_sys_list();
// Parse arguments // Parse arguments
for(i=0; i<argc; i++) { for(i=0; i<argc; i++) {
if(argv[i].toLowerCase()=="-l") { if(argv[i].toLowerCase()=="-l") {
var timeout = 5000; writeln("Inter-BBS Active Users:");
var timeout = 2500;
var sent = lib.request_active_users(); var sent = lib.request_active_users();
if(parseInt(argv[i+1])) if(parseInt(argv[i+1]))
timeout = parseInt(argv[i+1]); timeout = parseInt(argv[i+1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment