summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-29 16:01:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-29 16:01:48 +0300
commit2bfaad4e1e3a2aea665bc5b3d70b3a249c01b257 (patch)
tree1cc53b34fd40f366e8967891ae185656df8007e2 /src
parent43fc37b844a3c9f32a2fda3fda751bbfdaa6a911 (diff)
fixes #1229 (Cannot create new account)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/protocols.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/protocols.cpp b/src/mir_app/src/protocols.cpp
index 3ac0e4b117..f18b256ea1 100644
--- a/src/mir_app/src/protocols.cpp
+++ b/src/mir_app/src/protocols.cpp
@@ -109,6 +109,7 @@ MIR_APP_DLL(int) Proto_RegisterModule(PROTOCOLDESCRIPTOR *pd)
return 1;
MBaseProto *p = (MBaseProto*)mir_calloc(sizeof(MBaseProto));
+ p->cbSize = pd->cbSize;
p->szName = mir_strdup(pd->szName);
p->type = pd->type;
if (pd->cbSize == sizeof(PROTOCOLDESCRIPTOR)) {