From 46f4e5fb5c77d01de334e059b88837f8c7fe1f3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 22:09:53 +0300 Subject: Add chat command /immortal. Also add it to player context menu. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 8cc076fba..969807577 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1429,4 +1429,10 @@ impHandler(commandDisguise) return true; } +impHandler(commandImmortal) +{ + adminHandler->immortal(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50