    # File lib/plugins/irc_gw.rb, line 72
      def initialize(*args)
        super
        @@listners << self
        @members = Set.new
        @commands = []

        Termtter::Client.register_hook(:collect_user_names_for_irc_gw, :point => :pre_filter) do |statuses, event|
          new_users = []
          statuses.each do |s|
            screen_name = s.user.screen_name
            next if screen_name == config.user_name
            next unless friends_ids.include? s.user.id
            next if @members.include? screen_name
            @members << screen_name
            new_users << screen_name
          end
          join_members(new_users)
        end

        Termtter::Client.register_command(
          :name => :collect_friends,
          :help => 'Collect friends for IRC.',
          :exec => lambda {|arg|
            sync_friends
          })

        Termtter::Client.register_hook(:collect_commands_for_irc_gw, :point => :post_command) do |text|
          sync_commands if text =~ /plug/
        end
      end