diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-31 19:01:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-31 19:01:52 +0300 |
commit | 2600097dcc6e357d4d8df6105e9afb66b6d4b296 (patch) | |
tree | fe6a1f8a777531ef1a28d373301dacdfc4854544 /protocols/IRCG | |
parent | 5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff) |
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings;
- code cleaning.
Diffstat (limited to 'protocols/IRCG')
-rw-r--r-- | protocols/IRCG/src/ircproto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index 440359e82a..b062662c29 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -181,7 +181,7 @@ int CIrcProto::OnModulesLoaded(WPARAM, LPARAM) NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
nlu.szSettingsModule = m_szModuleName;
- nlu.ptszDescriptiveName = name;
+ nlu.szDescriptiveName.w = name;
m_hNetlibUser = Netlib_RegisterUser(&nlu);
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
@@ -189,7 +189,7 @@ int CIrcProto::OnModulesLoaded(WPARAM, LPARAM) mir_snprintf(szTemp2, "%s DCC", m_szModuleName);
nlu.szSettingsModule = szTemp2;
mir_snwprintf(name, TranslateT("%s client-to-client connections"), m_tszUserName);
- nlu.ptszDescriptiveName = name;
+ nlu.szDescriptiveName.w = name;
hNetlibDCC = Netlib_RegisterUser(&nlu);
GCREGISTER gcr = {};
|