summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/chathandler.cpp b/src/net/manaserv/chathandler.cpp
index 11a1331e..dca556c2 100644
--- a/src/net/manaserv/chathandler.cpp
+++ b/src/net/manaserv/chathandler.cpp
@@ -173,7 +173,7 @@ void ChatHandler::handleGameChatMessage(MessageIn &msg)
event.setInt("beingId", id);
event.setInt("permissions", player_relations
.checkPermissionSilently(being->getName(),
- PlayerRelation::SPEECH_LOG | PlayerRelation::SPEECH_FLOAT));
+ PlayerPermissions::SPEECH_LOG | PlayerPermissions::SPEECH_FLOAT));
event.trigger(Event::ChatChannel);
}