plugins/presence.lua

changeset 404
7c6a610c3ff5
parent 250
a5ac643a7fd6
child 405
f065fc1fab0a
--- a/plugins/presence.lua	Sun May 15 16:23:54 2016 +0200
+++ b/plugins/presence.lua	Sat Jun 04 13:35:23 2016 +0200
@@ -10,8 +10,8 @@
 	end, 1);
 
 	function stream:resend_presence()
-		if last_presence then
-			stream:send(last_presence);
+		if self.last_presence then
+			stream:send(self.last_presence);
 		end
 	end
 

mercurial