diff options
Diffstat (limited to 'plugins/MirOTR/src/svcs_srmm.cpp')
-rw-r--r-- | plugins/MirOTR/src/svcs_srmm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/svcs_srmm.cpp b/plugins/MirOTR/src/svcs_srmm.cpp index f3aa6d6f98..5be56308c6 100644 --- a/plugins/MirOTR/src/svcs_srmm.cpp +++ b/plugins/MirOTR/src/svcs_srmm.cpp @@ -75,7 +75,7 @@ void SetEncryptionStatus(MCONTACT hContact, TrustLevel level) int SVC_ButtonsBarLoaded(WPARAM, LPARAM) { - Srmm_AddButton(&OTRButton, &g_plugin); + g_plugin.addButton(&OTRButton); return 0; } @@ -121,7 +121,7 @@ void InitSRMM() memset(&OTRButton, 0, sizeof(OTRButton)); OTRButton.pszModuleName = MODULENAME; OTRButton.dwDefPos = 200; - OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON | BBBF_CANBEHIDDEN | BBBF_ISIMBUTTON; + OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON | BBBF_CANBEHIDDEN | BBBF_ISIMBUTTON | BBBF_NOREADONLY; OTRButton.pwszTooltip = TranslateT(LANG_OTR_TOOLTIP); OTRButton.hIcon = iconList[ICON_NOT_PRIVATE].hIcolib; |