Software / code / prosody
Comparison
plugins/mod_admin_shell.lua @ 11363:8cbe951b40e3
mod_admin_shell: Remove previous print() call
Accident involving Mercurial interactive commit
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 03 Feb 2021 23:47:59 +0100 |
| parent | 11362:52d93fba2ee1 |
| child | 11364:bb6b744f7f1a |
comparison
equal
deleted
inserted
replaced
| 11362:52d93fba2ee1 | 11363:8cbe951b40e3 |
|---|---|
| 1236 print("HTTP endpoints on "..host..(http_host and (" (using "..http_host.."):") or ":")); | 1236 print("HTTP endpoints on "..host..(http_host and (" (using "..http_host.."):") or ":")); |
| 1237 end | 1237 end |
| 1238 for _, provider in ipairs(http_apps) do | 1238 for _, provider in ipairs(http_apps) do |
| 1239 local mod = provider._provided_by; | 1239 local mod = provider._provided_by; |
| 1240 local url = module:context(host):http_url(provider.name, provider.default_path); | 1240 local url = module:context(host):http_url(provider.name, provider.default_path); |
| 1241 print("", url); | |
| 1242 mod = mod and "mod_"..mod or "" | 1241 mod = mod and "mod_"..mod or "" |
| 1243 print("", mod, url); | 1242 print("", mod, url); |
| 1244 end | 1243 end |
| 1245 print(""); | 1244 print(""); |
| 1246 end | 1245 end |