# File lib/rbot/core/userdata.rb, line 57 def get_data_hash(user, opts={}) plain = opts[:plain] iu = user.to_irc_user bu = iu.botuser ih = @ircuser[iu.nick] || {} if bu.default? return ih elsif bu.transient? bh = @transient[bu.netmasks.first.fullform] || {} else bh = @botuser[bu.username] || {} end ih.merge!(bh) unless plain class << ih alias :single_retrieve :[] alias :single_assign :[]= include DottedIndex end end return ih end