Changeset

8344:071c0523c4cb

mod_uptime: Remove unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 20 Oct 2017 06:54:06 +0200
parents 8343:5df2f240173b
children 8345:850c433eb862
files plugins/mod_uptime.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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