plugins/mod_uptime.lua
changeset 8347 071c0523c4cb
parent 5776 bd0ff8ae98a8
child 8965 6c06bd455bbf
--- a/plugins/mod_uptime.lua	Wed Oct 18 21:21:43 2017 +0200
+++ b/plugins/mod_uptime.lua	Fri Oct 20 06:54:06 2017 +0200
@@ -39,7 +39,7 @@
 		minutes, (minutes ~= 1 and "s") or "", os.date("%c", prosody.start_time));
 end
 
-function uptime_command_handler (self, data, state)
+function uptime_command_handler ()
 	return { info = uptime_text(), status = "completed" };
 end