summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 7c77f19f..ef50d77e 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1217,7 +1217,7 @@ void Being::event(Event::Channel channel, const Event &event)
if (channel == Event::ChatChannel &&
(event.getType() == Event::Being
|| event.getType() == Event::Player) &&
- event.getInt("permissions") & PlayerRelation::SPEECH_FLOAT)
+ event.getInt("permissions") & PlayerPermissions::SPEECH_FLOAT)
{
try
{