mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Merge pull request #1049 from kerio92/appel_du_vide
Add an %empty% substitution in ExpandString that expands to the empty string.
This commit is contained in:
@@ -554,6 +554,7 @@ CString& CUser::ExpandString(const CString& sStr, CString& sRet) const {
|
||||
sRet.Replace("%version%", CZNC::GetVersion());
|
||||
sRet.Replace("%time%", sTime);
|
||||
sRet.Replace("%uptime%", CZNC::Get().GetUptime());
|
||||
sRet.Replace("%empty%", "");
|
||||
// The following lines do not exist. You must be on DrUgS!
|
||||
sRet.Replace("%znc%", "All your IRC are belong to ZNC");
|
||||
// Chosen by fair zocchihedron dice roll by SilverLeo
|
||||
|
||||
Reference in New Issue
Block a user