Commit 22287157 authored by rswindell's avatar rswindell
Browse files

Added new @-codes requested by Ragnarkok:

PAGER (expands to "on" or "off" to indicate chat page enable status)
ALERTS (expands to "on or "off" to indicate activity alert enable status)
parent 20a74f8d
/* Synchronet "@code" functions */
// vi: tabstop=4
/* $Id$ */
......@@ -235,6 +236,12 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
if(strcmp(sp, "PAGER") == 0)
return (thisnode.misc&NODE_POFF) ? text[Off] : text[On];
if(strcmp(sp, "ALERTS") == 0)
return (thisnode.misc&NODE_AOFF) ? text[Off] : text[On];
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