diff plugins/mod_account_activity.lua @ 14196:303069346d10 13.0

mod_account_activity: Remove unnecessary variable This was added for trunk, 13.0 doesn't have the code that uses opts
author Matthew Wild <mwild1@gmail.com>
date Tue, 26 May 2026 12:30:17 +0100
parents 0c81b8fede94
children 3b26b8772fb1
line wrap: on
line diff
--- a/plugins/mod_account_activity.lua	Tue May 26 12:26:59 2026 +0100
+++ b/plugins/mod_account_activity.lua	Tue May 26 12:30:17 2026 +0100
@@ -57,8 +57,6 @@
 	};
 	host_selector = "host";
 	handler = function(self, host, duration) --luacheck: ignore 212/self
-		opts = opts or {};
-
 		local um = require "prosody.core.usermanager";
 		local duration_sec = require "prosody.util.human.io".parse_duration(duration or "");
 		if not duration_sec then