summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index e6dba74f3..c7e12af88 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -124,7 +124,7 @@ static void changeRelation(const InputEvent &event,
impHandler(chatAnnounce)
{
- Net::getAdminHandler()->announce(event.args);
+ adminHandler->announce(event.args);
return true;
}