/*
- * (c) 2009-2011 by Art Cancro and citadel.org
+ * (c) 2009-2012 by Art Cancro and citadel.org
* This program is released under the terms of the GNU General Public License v3.
*/
{ "date", cmd_datetime, "Print the server's date and time" },
{ "time", cmd_datetime, "Print the server's date and time" },
{ "passwd", cmd_passwd, "Set or change an account password" },
+ { "who", cmd_who, "Display a list of online users" },
{ "shutdown", cmd_shutdown, "Shut down the Citadel server" },
{ NULL, NULL, NULL }
};
}
-
void do_main_loop(int server_socket) {
char *cmd = NULL;
char prompt[1024];
}
}
+
+/*
+ * If you don't know what main() does by now you probably shouldn't be reading this code.
+ */
int main(int argc, char **argv)
{
int server_socket = 0;