Changeset

4315:51706d2b9f77

Backout bcdff2b1d3ec from 0.8 - going to commit a slightly cleaner patch for the same issue to trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jun 2011 01:29:02 +0100
parents 4314:1e1110840965
children 4316:2478698bdc52 4317:5b0fcc5cdd4d
files plugins/mod_groups.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_groups.lua	Mon Jun 06 22:51:33 2011 +0100
+++ b/plugins/mod_groups.lua	Tue Jun 07 01:29:02 2011 +0100
@@ -34,9 +34,9 @@
 				end
 				if not roster[jid].groups then
 					roster[jid].groups = { [group_name] = true };
-					roster[jid].persist = false;
 				end
 				roster[jid].groups[group_name] = true;
+				roster[jid].persist = false;
 			end
 		end
 	end