diff --git a/cockatrice/src/messagelogwidget.cpp b/cockatrice/src/messagelogwidget.cpp
index 3f8945959..efdb0ff71 100644
--- a/cockatrice/src/messagelogwidget.cpp
+++ b/cockatrice/src/messagelogwidget.cpp
@@ -24,9 +24,9 @@ QString MessageLogWidget::cardLink(const QString &cardName) const
return QString("%2").arg(cardName).arg(cardName);
}
-bool MessageLogWidget::isFemale(Player *player) const
+ServerInfo_User::Gender MessageLogWidget::genderOf(Player *player) const
{
- return player->getUserInfo()->gender() == ServerInfo_User::Female;
+ return player->getUserInfo()->gender();
}
bool MessageLogWidget::userIsFemale() const
diff --git a/cockatrice/src/messagelogwidget.h b/cockatrice/src/messagelogwidget.h
index 2b12b3c50..8eced59b0 100644
--- a/cockatrice/src/messagelogwidget.h
+++ b/cockatrice/src/messagelogwidget.h
@@ -28,7 +28,7 @@ private:
QString sanitizeHtml(QString dirty) const;
QString cardLink(const QString &cardName) const;
- bool isFemale(Player *player) const;
+ bool genderOf(Player *player) const;
bool userIsFemale() const;
QPair getFromStr(CardZone *zone, QString cardName, int position, bool ownerChange) const;
MessageContext currentContext;