mirror of
https://github.com/znc/znc.git
synced 2026-04-30 18:42:25 +02:00
Fix valueless message tags (closes #684)
This commit is contained in:
@@ -502,7 +502,9 @@ void CUtils::SetMessageTags(CString& sLine, const MCString& mssTags) {
|
||||
if (!sTags.empty()) {
|
||||
sTags += ";";
|
||||
}
|
||||
sTags += it->first + "=" + it->second;
|
||||
sTags += it->first;
|
||||
if (!it->second.empty())
|
||||
sTags += "=" + it->second;
|
||||
}
|
||||
sLine = "@" + sTags + " " + sLine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user