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:
commit
64e39aca88
1 file changed
+1
@@ -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