diff options
Diffstat (limited to 'plugins/mRadio')
| -rw-r--r-- | plugins/mRadio/i_optdlg.inc | 6 | ||||
| -rw-r--r-- | plugins/mRadio/i_visual.inc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mRadio/i_optdlg.inc b/plugins/mRadio/i_optdlg.inc index 5146b57adc..fe26a0bf11 100644 --- a/plugins/mRadio/i_optdlg.inc +++ b/plugins/mRadio/i_optdlg.inc @@ -681,7 +681,7 @@ begin begin
if value._type=DBVT_DELETED then
begin
- if StrCmp(Proto_GetProtoName(wParam),PluginName)<>0 then exit;
+ if StrCmp(Proto_GetBaseAccountName(wParam),PluginName)<>0 then exit;
pc:=DBReadString(wParam,PluginName,optNick);
DBWriteString(wParam,strCList,optMyHandle,pc);
@@ -695,7 +695,7 @@ begin if StrCmp(szSetting,optAge)=0 then
begin
- if StrCmp(Proto_GetProtoName(wParam),PluginName)<>0 then exit;
+ if StrCmp(Proto_GetBaseAccountName(wParam),PluginName)<>0 then exit;
if value._type=DBVT_DELETED then
i:=DBReadWord(wParam,PluginName,optAge)
else
@@ -709,7 +709,7 @@ begin DBVT_ASCIIZ ,
DBVT_WCHAR ,
DBVT_UTF8 :
- if StrCmp(Proto_GetProtoName(wParam),PluginName)<>0 then exit;
+ if StrCmp(Proto_GetBaseAccountName(wParam),PluginName)<>0 then exit;
else
exit;
end;
diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc index e8a319d15c..06dd42aaa1 100644 --- a/plugins/mRadio/i_visual.inc +++ b/plugins/mRadio/i_visual.inc @@ -5,7 +5,7 @@ var function OnContactMenu(hContact:WPARAM;lParam:LPARAM):int;cdecl;
begin
- if StrCmp(Proto_GetProtoName(hContact),PluginName)<>0 then
+ if StrCmp(Proto_GetBaseAccountName(hContact),PluginName)<>0 then
begin
Menu_ShowItem(hCMenuItemRec, 0);
Menu_ShowItem(hCMenuItemPlay, 0);
|
