diff options
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h index 0b22584ef..a6bad8e5b 100644 --- a/include/anope.h +++ b/include/anope.h @@ -552,6 +552,11 @@ namespace Anope */ extern CoreExport Anope::string Random(size_t len); + /** Replace ${VARIABLE} or ${VARIABLE:-default} in a string with + * the appropriate environment variables + */ + extern CoreExport Anope::string ProcessEnvVars(const Anope::string &); + extern Logger Logger; } |