aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 01:19:09 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 01:19:09 +0100
commitd7b0b8cf6ca84dcb3847e44ee213e3309cc88a04 (patch)
tree81b0fe5cd682eaeb2aa17d17da7c55b46b5b7058 /plugins/mod_admin_telnet.lua
parent6637aeffb6640e8ac92fbc4292c1870de6718309 (diff)
downloadprosody-d7b0b8cf6ca84dcb3847e44ee213e3309cc88a04.tar.gz
prosody-d7b0b8cf6ca84dcb3847e44ee213e3309cc88a04.zip
mod_admin_telnet: Fix broken indentation
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index eb7be121..1a3bf6d2 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -958,8 +958,8 @@ end
function printbanner(session)
local option = module:get_option("console_banner");
-if option == nil or option == "full" or option == "graphic" then
-session.print [[
+ if option == nil or option == "full" or option == "graphic" then
+ session.print [[
____ \ / _
| _ \ _ __ ___ ___ _-_ __| |_ _
| |_) | '__/ _ \/ __|/ _ \ / _` | | | |
@@ -968,19 +968,19 @@ session.print [[
A study in simplicity |___/
]]
-end
-if option == nil or option == "short" or option == "full" then
-session.print("Welcome to the Prosody administration console. For a list of commands, type: help");
-session.print("You may find more help on using this console in our online documentation at ");
-session.print("http://prosody.im/doc/console\n");
-end
-if option and option ~= "short" and option ~= "full" and option ~= "graphic" then
- if type(option) == "string" then
- session.print(option)
- elseif type(option) == "function" then
- module:log("warn", "Using functions as value for the console_banner option is no longer supported");
end
-end
+ if option == nil or option == "short" or option == "full" then
+ session.print("Welcome to the Prosody administration console. For a list of commands, type: help");
+ session.print("You may find more help on using this console in our online documentation at ");
+ session.print("http://prosody.im/doc/console\n");
+ end
+ if option and option ~= "short" and option ~= "full" and option ~= "graphic" then
+ if type(option) == "string" then
+ session.print(option)
+ elseif type(option) == "function" then
+ module:log("warn", "Using functions as value for the console_banner option is no longer supported");
+ end
+ end
end
module:add_item("net-provider", {