summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp9
-rw-r--r--src/actions/commands.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 65acd7c70..fe53ffa61 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1359,4 +1359,13 @@ impHandler(commandSpawnSlaveClone)
return true;
}
+impHandler(commandSpawnEvilClone)
+{
+ const std::string args = event.args;
+ if (args.empty())
+ return false;
+ adminHandler->spawnEvilClone(args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 45aa62998..ee4492818 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -115,6 +115,7 @@ namespace Actions
decHandler(commandSpawnSlave);
decHandler(commandSpawnClone);
decHandler(commandSpawnSlaveClone);
+ decHandler(commandSpawnEvilClone);
} // namespace Actions
#undef decHandler