Changeset

6770:cb84731b2dfd

Merge
author Matthew Wild <mwild1@gmail.com>
date Mon, 27 Jul 2015 09:38:40 +0100
parents 6769:4caef6d53304 (current diff) 6768:7816923fd5bf (diff)
children 6775:22c8deb43daf
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Mon Jul 27 18:34:51 2015 +1000
+++ b/plugins/muc/mod_muc.lua	Mon Jul 27 09:38:40 2015 +0100
@@ -87,9 +87,9 @@
 	end
 
 	local _set_affiliation = room_mt.set_affiliation;
-	function room_mt:set_affiliation(actor, jid, ...)
+	function room_mt:set_affiliation(actor, jid, affiliation, reason)
 		if affiliation ~= "owner" and is_admin(jid) then return nil, "modify", "not-acceptable"; end
-		return _set_affiliation(self, actor, jid, ...);
+		return _set_affiliation(self, actor, jid, affiliation, reason);
 	end
 end