File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/com/botdetector Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -697,13 +697,15 @@ private void onMenuEntryAdded(MenuEntryAdded event)
697697 return ;
698698 }
699699
700- int groupId = WidgetInfo .TO_GROUP (event .getActionParam1 ());
700+ final int componentId = event .getActionParam1 ();
701+ int groupId = WidgetInfo .TO_GROUP (componentId );
701702 String option = event .getOption ();
702703
703704 if (groupId == WidgetInfo .FRIENDS_LIST .getGroupId () || groupId == WidgetInfo .FRIENDS_CHAT .getGroupId () ||
704705 groupId == WidgetInfo .CHATBOX .getGroupId () && !KICK_OPTION .equals (option ) ||
705706 groupId == WidgetInfo .RAIDING_PARTY .getGroupId () || groupId == WidgetInfo .PRIVATE_CHAT_MESSAGE .getGroupId () ||
706- groupId == WidgetInfo .IGNORE_LIST .getGroupId ())
707+ groupId == WidgetInfo .IGNORE_LIST .getGroupId () ||
708+ componentId == WidgetInfo .CLAN_MEMBER_LIST .getId () || componentId == WidgetInfo .CLAN_GUEST_MEMBER_LIST .getId ())
707709 {
708710 if (!AFTER_OPTIONS .contains (option ) || (option .equals (DELETE_OPTION ) && groupId != WidgetInfo .IGNORE_LIST .getGroupId ()))
709711 {
You can’t perform that action at this time.
0 commit comments