diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basic_mode.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic_mode.lua b/examples/basic_mode.lua index 97cccd1..9f9b8ad 100644 --- a/examples/basic_mode.lua +++ b/examples/basic_mode.lua @@ -1,8 +1,8 @@ local commands = { - ["%w+%s*\n"] = function(match) + ["%w+%s*\n"] = function(match, requester) command_queue:enqueue(string.match(match , "(%w+)%s*")) end, - [".*\n"] = function(match) end + [".*\n"] = function(match, requester) end } local responses = { |