def refresh
      return if @in_whois
      @data.keys.each do |attr|
        unsync attr
      end

      @in_whois = true
      if @bot.irc.network.whois_only_one_argument?
        @bot.irc.send "WHOIS #@name"
      else
        @bot.irc.send "WHOIS #@name #@name"
      end
    end
def refresh
      return if @in_whois
      @data.keys.each do |attr|
        unsync attr
      end

      @in_whois = true
      if @bot.irc.network.whois_only_one_argument?
        @bot.irc.send "WHOIS #@name"
      else
        @bot.irc.send "WHOIS #@name #@name"
      end
    end
Queries the IRC server for information on the user. This will
 set the User's state to not synced. After all information are
 received, the object will be set back to synced.

 @return [void]
 @note The alias `whois` is deprecated and will be removed in a
   future version.