Changeset

190:751a69610eaa

Merge with Zash
author Matthew Wild <mwild1@gmail.com>
date Tue, 22 Feb 2011 23:54:35 +0000
parents 188:4678932455a3 (current diff) 189:033f1bd7420d (diff)
children 191:e0664081654c
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/groupchat.lua	Tue Feb 22 23:51:00 2011 +0000
+++ b/plugins/groupchat.lua	Tue Feb 22 23:54:35 2011 +0000
@@ -142,7 +142,7 @@
 end
 
 function room_mt:leave(message)
-	self.stream:event("groupchat/leaving", room);
+	self.stream:event("groupchat/leaving", self);
 	self:send(st.presence({type="unavailable"}));
 end