Software / code / prosody
Comparison
prosodyctl @ 6325:13a43fe90d9f
prosodyctl: Remove nonsensical warning
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 31 Jul 2014 06:59:12 +0100 |
| parent | 6324:c9730926002b |
| child | 6326:a3b9496673ee |
| child | 6356:fb1535328ac7 |
comparison
equal
deleted
inserted
replaced
| 6324:c9730926002b | 6325:13a43fe90d9f |
|---|---|
| 370 return 1; | 370 return 1; |
| 371 end | 371 end |
| 372 | 372 |
| 373 if not hosts[host] then | 373 if not hosts[host] then |
| 374 show_warning("The host '%s' is not listed in the configuration file (or is not enabled).", host) | 374 show_warning("The host '%s' is not listed in the configuration file (or is not enabled).", host) |
| 375 show_warning("The user will not be able to log in until this is changed."); | |
| 376 hosts[host] = make_host(host); | 375 hosts[host] = make_host(host); |
| 377 end | 376 end |
| 378 | 377 |
| 379 if not prosodyctl.user_exists { user = user, host = host } then | 378 if not prosodyctl.user_exists { user = user, host = host } then |
| 380 show_message [[That user does not exist on this server]] | 379 show_message [[That user does not exist on this server]] |