# HG changeset patch # User Kim Alvefur # Date 1298246748 -3600 # Node ID dcb0eb6c32b6ccd98a23a022690c6ae3b463e2d6 # Parent 3e5b57d44fa097dacf1bbe9dbb12d5ca7fc2d434 plugins.bookmarks: Remove redundant config reference diff -r 3e5b57d44fa0 -r dcb0eb6c32b6 plugins/bookmarks.lua --- 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