plugins/bookmarks.lua

changeset 59
dcb0eb6c32b6
parent 50
cd9b25249098
--- a/plugins/bookmarks.lua	Sat Jan 22 17:12:20 2011 +0000
+++ b/plugins/bookmarks.lua	Mon Feb 21 01:05:48 2011 +0100
@@ -44,7 +44,7 @@
 					my_bookmarks[room.attr.jid] = true; -- to know which rooms are bookmarked
 					if room.attr.autojoin == "true" or room.attr.autojoin == "1" then
 						nick = room:get_child("nick");
-						nick = nick and nick[1] or bot.config.nick;
+						nick = nick and nick[1] or nil;
 						bot:join_room(room.attr.jid, nick);
 					end
 					-- TODO Passwords

mercurial