1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00
psyclpc/src/util/xerq/lpc/www/finger.c
2009-05-22 00:41:07 +02:00

10 lines
289 B
C

string www_main(string *args)
{
if (sizeof(args) != 1) return "<PLAINTEXT>Need to specify a name.\n";
return sprintf(
"<TITLE>Finger: %s</TITLE>\n"
"<PLAINTEXT>%s",
args[0], "/cmds/std/_finger"->get_finger(args[0], 0));
}
status clean_up(status arg) { destruct(this_object()); }