Software / code / prosody
Comparison
plugins/mod_admin_shell.lua @ 10863:455a151db834
mod_admin_shell: Remove old variable declaration [luacheck]
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 01 Jun 2020 16:38:16 +0100 |
| parent | 10860:934dca972f2c |
| child | 10878:b37dc3776f69 |
comparison
equal
deleted
inserted
replaced
| 10862:1cfae9e85021 | 10863:455a151db834 |
|---|---|
| 145 return; | 145 return; |
| 146 end | 146 end |
| 147 end | 147 end |
| 148 | 148 |
| 149 local taskok, message = chunk(); | 149 local taskok, message = chunk(); |
| 150 | |
| 151 local result = st.stanza("repl-result"); | |
| 152 | 150 |
| 153 if not message then | 151 if not message then |
| 154 if type(taskok) ~= "string" and useglobalenv then | 152 if type(taskok) ~= "string" and useglobalenv then |
| 155 taskok = session.serialize(taskok); | 153 taskok = session.serialize(taskok); |
| 156 end | 154 end |