summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 insertions, 0 deletions
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
diff --git a/src/actions/commands.h b/src/actions/commands.h
index fa21e942c..1e642ec9e 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -125,6 +125,7 @@ namespace Actions
decHandler(commandHeal);
decHandler(commandAlive);
decHandler(commandDisguise);
+ decHandler(commandImmortal);
} // namespace Actions
#undef decHandler