This commit is contained in:
Max-Wilhelm Bruker 2011-03-03 18:03:54 +01:00
parent 50de655261
commit 87933ba82d
4 changed files with 5 additions and 2 deletions

View file

@ -149,7 +149,7 @@ void PlayerListWidget::showContextMenu(const QPoint &pos, const QModelIndex &ind
menu->addSeparator();
menu->addAction(aDetails);
menu->addAction(aChat);
if (userLevel & ServerInfo_User::IsRegistered) {
if ((userLevel & ServerInfo_User::IsRegistered) && (tabSupervisor->getUserLevel() & ServerInfo_User::IsRegistered)) {
menu->addSeparator();
if (tabSupervisor->getUserListsTab()->getBuddyList()->userInList(userName))
menu->addAction(aRemoveFromBuddyList);