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 969807577..f0dd84500 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1435,4 +1435,10 @@ impHandler(commandImmortal)
return true;
}
+impHandler(commandHide)
+{
+ adminHandler->hide(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 1e642ec9e..74fedcf8c 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -126,6 +126,7 @@ namespace Actions
decHandler(commandAlive);
decHandler(commandDisguise);
decHandler(commandImmortal);
+ decHandler(commandHide);
} // namespace Actions
#undef decHandler