summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/popupmenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 12531d89..e8af3122 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -75,7 +75,8 @@ void PopupMenu::showPopup(int x, int y, Being *being)
mBrowserBox->clearRows();
// Any being's name can be added to chat
- mBrowserBox->addRow(_("@@name|Add name to chat@@"));
+ if (being->getType() != Being::UNKNOWN)
+ mBrowserBox->addRow(_("@@name|Add name to chat@@"));
switch (being->getType())
{