summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/lm_func.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_func.lua')
-rw-r--r--crawl-ref/source/dat/clua/lm_func.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/dat/clua/lm_func.lua b/crawl-ref/source/dat/clua/lm_func.lua
index 692990f2de..c1ea82e6d2 100644
--- a/crawl-ref/source/dat/clua/lm_func.lua
+++ b/crawl-ref/source/dat/clua/lm_func.lua
@@ -175,13 +175,3 @@ end
function function_machine(pars)
return FunctionMachine:new(pars)
end
-
-function message_machine (pars)
- local channel = pars.channel or false
- local mtable = {message = pars.message, channel = pars.channel}
- pars.func = function (position, mtable)
- crawl.mpr(mtable.message, mtable.channel)
- end
- pars.marker_params = mtable
- return FunctionMachine:new(pars)
-end