mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Add CIRCNetwork::ExpandString
This commit is contained in:
@@ -568,7 +568,11 @@ bool CClient::SendMotd() {
|
||||
}
|
||||
|
||||
for (unsigned int a = 0; a < vsMotd.size(); a++) {
|
||||
PutStatusNotice(m_pUser->ExpandString(vsMotd[a]));
|
||||
if (m_pNetwork) {
|
||||
PutStatusNotice(m_pNetwork->ExpandString(vsMotd[a]));
|
||||
} else {
|
||||
PutStatusNotice(m_pUser->ExpandString(vsMotd[a]));
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user