Software / code / prosody
Comparison
plugins/mod_admin_shell.lua @ 13605:74a8006ee7f6
mod_admin_shell: Remove redundant 'mod_' prefix from debug message
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 08 Jan 2025 08:41:15 +0100 |
| parent | 13603:6e5124f72e9a |
| child | 13625:ff13dd315e68 |
comparison
equal
deleted
inserted
replaced
| 13604:a4217361c1c6 | 13605:74a8006ee7f6 |
|---|---|
| 2628 full = command.help; | 2628 full = command.help; |
| 2629 args = array(command.args); | 2629 args = array(command.args); |
| 2630 module = command._provided_by; | 2630 module = command._provided_by; |
| 2631 }; | 2631 }; |
| 2632 | 2632 |
| 2633 module:log("debug", "Shell command added by mod_%s: %s:%s()", mod_name, command.section, command.name); | 2633 module:log("debug", "Shell command added by %s: %s:%s()", mod_name, command.section, command.name); |
| 2634 end | 2634 end |
| 2635 | 2635 |
| 2636 local function on_command_removed(event) | 2636 local function on_command_removed(event) |
| 2637 local command = event.item; | 2637 local command = event.item; |
| 2638 | 2638 |