Mercurial > prosody-hg
comparison util/prosodyctl.lua @ 10191:395ce57dccdf
util.prosodyctl: Changed a comment
| author | João Duarte <jvsDuarte08@gmail.com> |
|---|---|
| date | Thu, 01 Aug 2019 04:16:00 -0700 |
| parents | d311168c71d1 |
| children | 219a4958673d |
comparison
equal
deleted
inserted
replaced
| 10190:f506964a1123 | 10191:395ce57dccdf |
|---|---|
| 287 signal.kill(pid, signal.SIGHUP); | 287 signal.kill(pid, signal.SIGHUP); |
| 288 return true; | 288 return true; |
| 289 end | 289 end |
| 290 | 290 |
| 291 local function get_path_custom_plugins(plugin_paths) | 291 local function get_path_custom_plugins(plugin_paths) |
| 292 -- I'm considering that we are using just one path to custom plugins, and it is the first in prosody.paths.plugins, for now | 292 -- I'm considering that the custom plugins' path is the first one at prosody.paths.plugins |
| 293 -- luacheck: ignore 512 | 293 -- luacheck: ignore 512 |
| 294 for path in plugin_paths:gmatch("[^;]+") do | 294 for path in plugin_paths:gmatch("[^;]+") do |
| 295 return path; | 295 return path; |
| 296 end | 296 end |
| 297 end | 297 end |
