plugins.bookmarks: Remove redundant config reference

Mon, 21 Feb 2011 01:05:48 +0100

author
Kim Alvefur <zash@zash.se>
date
Mon, 21 Feb 2011 01:05:48 +0100
changeset 59
dcb0eb6c32b6
parent 58
3e5b57d44fa0
child 60
87ecc6324155

plugins.bookmarks: Remove redundant config reference

plugins/bookmarks.lua file | annotate | diff | comparison | revisions
--- 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