Mon, 21 Feb 2011 01:05:48 +0100
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