Comparison

prosodyctl @ 4336:abcbcb15205c

prosodyctl: Update message on reload success
author Matthew Wild <mwild1@gmail.com>
date Thu, 04 Aug 2011 14:00:24 -0400
parent 4335:3a2a01432b5c
child 4476:53ce21286b8c
comparison
equal deleted inserted replaced
4335:3a2a01432b5c 4336:abcbcb15205c
550 end 550 end
551 551
552 local ok, ret = prosodyctl.reload(); 552 local ok, ret = prosodyctl.reload();
553 if ok then 553 if ok then
554 554
555 show_message("Config updated"); 555 show_message("Prosody log files re-opened and config file reloaded. You may need to reload modules for some changes to take effect.");
556 return 0; 556 return 0;
557 end 557 end
558 558
559 show_message(error_messages[ret]); 559 show_message(error_messages[ret]);
560 return 1; 560 return 1;