mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Add framework for translating ZNC to different languages
This commit is contained in:
@@ -94,6 +94,7 @@ void CClient::SendRequiredPasswordNotice() {
|
||||
}
|
||||
|
||||
void CClient::ReadLine(const CString& sData) {
|
||||
CLanguageScope user_lang(GetUser() ? GetUser()->GetLanguage() : "");
|
||||
CString sLine = sData;
|
||||
|
||||
sLine.TrimRight("\n\r");
|
||||
|
||||
Reference in New Issue
Block a user