summaryrefslogtreecommitdiff
path: root/examples/extensions/greet.lua
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-09 00:00:56 -0600
committert <t@tjp.lol>2026-06-09 08:52:47 -0600
commit97b10466d83d488ad2cb9e084159a445af74c845 (patch)
tree6bea7c23d00ff1178a43e631fc700f210cb7d85b /examples/extensions/greet.lua
parent104001d25c9c8cb5ec45ced1678f7c7b70888808 (diff)
event lifecycle
Diffstat (limited to 'examples/extensions/greet.lua')
-rw-r--r--examples/extensions/greet.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extensions/greet.lua b/examples/extensions/greet.lua
index 5ec406f..30a6f12 100644
--- a/examples/extensions/greet.lua
+++ b/examples/extensions/greet.lua
@@ -6,7 +6,7 @@
-- writing to stdout). `args` is the trimmed text after the command name;
-- it is an empty string when none was given. The return value is ignored.
-panto.register_command {
+panto.ext.register_command {
name = "greet",
description = "Print a greeting. Optional args name who to greet.",
handler = function(args)