Commit f4e0967a authored by rswindell's avatar rswindell
Browse files

Added new @-code HOSTNAME, used to display current host name.

parent ff80554f
......@@ -191,6 +191,9 @@ char* sbbs_t::atcode(char* sp, char* str)
if(!strcmp(sp,"INETADDR"))
return(cfg.sys_inetaddr);
if(!strcmp(sp,"HOSTNAME"))
return(startup->host_name);
if(!strcmp(sp,"FIDOADDR")) {
if(cfg.total_faddrs)
return(faddrtoa(&cfg.faddr[0],str));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment