Comparison

plugins/mod_posix.lua @ 5776:bd0ff8ae98a8

Remove all trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 09 Aug 2013 17:48:21 +0200
parent 5452:edf3db386a19
child 6002:3547f315a1f5
comparison
equal deleted inserted replaced
5775:a6c2b8933507 5776:bd0ff8ae98a8
1 -- Prosody IM 1 -- Prosody IM
2 -- Copyright (C) 2008-2010 Matthew Wild 2 -- Copyright (C) 2008-2010 Matthew Wild
3 -- Copyright (C) 2008-2010 Waqas Hussain 3 -- Copyright (C) 2008-2010 Waqas Hussain
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 9
181 signal.signal("SIGHUP", function () 181 signal.signal("SIGHUP", function ()
182 module:log("info", "Received SIGHUP"); 182 module:log("info", "Received SIGHUP");
183 prosody.reload_config(); 183 prosody.reload_config();
184 prosody.reopen_logfiles(); 184 prosody.reopen_logfiles();
185 end); 185 end);
186 186
187 signal.signal("SIGINT", function () 187 signal.signal("SIGINT", function ()
188 module:log("info", "Received SIGINT"); 188 module:log("info", "Received SIGINT");
189 prosody.unlock_globals(); 189 prosody.unlock_globals();
190 prosody.shutdown("Received SIGINT"); 190 prosody.shutdown("Received SIGINT");
191 prosody.lock_globals(); 191 prosody.lock_globals();