diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 01:46:14 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 01:46:14 +0100 |
commit | 5403aab5d3dc626b9471e5e3d21a9ac66d629faa (patch) | |
tree | 7c1804b6b04d1a984edd2622fae5bdded439a056 /FICS/comproc.c | |
parent | 179be6726e2f6072bd5ad27e6b326b777bbf206f (diff) |
Reformatted com_servers() and deleted disabled code
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r-- | FICS/comproc.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c index 0738721..d3fc981 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1439,20 +1439,13 @@ PUBLIC int com_unalias(int p, param_list param) return COM_OK; } -PUBLIC int com_servers(int p, param_list param) +PUBLIC int +com_servers(int p, param_list param) { -/* - int i; - - ASSERT(param[0].type == TYPE_NULL); - if (numServers == 0) { - */ pprintf(p, "There are no other servers known to this server.\n"); - return COM_OK; + pprintf(p, "There are no other servers known to this server.\n"); + (void) param; + return COM_OK; } - /* pprintf(p, "There are %d known servers.\n", numServers); pprintf(p, "(Not - all of these may be active)\n"); pprintf(p, "%-30s%-7s\n", "HOST", - "PORT"); for (i = 0; i < numServers; i++) pprintf(p, "%-30s%-7d\n", - serverNames[i], serverPorts[i]); return COM_OK; } */ PUBLIC int com_index(int p, param_list param) |