Comparison

prosody @ 7801:1aea8978d7ef

prosody: Fix typo
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jan 2017 01:51:39 +0100
parent 7730:0656392b1685
child 7803:4d182b9a8109
child 7876:c028555866b3
comparison
equal deleted inserted replaced
7793:4f1b5596250b 7801:1aea8978d7ef
93 local ok, level, err = config.load(filename); 93 local ok, level, err = config.load(filename);
94 if not ok then 94 if not ok then
95 print("\n"); 95 print("\n");
96 print("**************************"); 96 print("**************************");
97 if level == "parser" then 97 if level == "parser" then
98 print("A problem occured while reading the config file "..(CFG_CONFIGDIR or ".").."/prosody.cfg.lua"..":"); 98 print("A problem occurred while reading the config file "..(CFG_CONFIGDIR or ".").."/prosody.cfg.lua"..":");
99 print(""); 99 print("");
100 local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)"); 100 local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)");
101 if err:match("chunk has too many syntax levels$") then 101 if err:match("chunk has too many syntax levels$") then
102 print("An Include statement in a config file is including an already-included"); 102 print("An Include statement in a config file is including an already-included");
103 print("file and causing an infinite loop. An Include statement in a config file is..."); 103 print("file and causing an infinite loop. An Include statement in a config file is...");