diff options
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r-- | protocols/IRCG/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp index ea802d43cd..0a2a5d70df 100644 --- a/protocols/IRCG/src/main.cpp +++ b/protocols/IRCG/src/main.cpp @@ -98,8 +98,7 @@ extern "C" int __declspec(dllexport) Load( ) InitContactMenus();
// register protocol
- PROTOCOLDESCRIPTOR pd = { 0 };
- pd.cbSize = sizeof( pd );
+ PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "IRC";
pd.type = PROTOTYPE_PROTOCOL;
pd.fnInit = ( pfnInitProto )ircProtoInit;
|