listen (NickServPlugin)

    # File rbot/plugins/nickserv.rb, line 71
      def listen(m)
        return unless(m.kind_of? NoticeMessage)

        if (m.sourcenick == "NickServ" && m.message =~ /This nickname is owned by someone else/)
          puts "nickserv asked us to identify for nick #{@bot.nick}"
          if @registry.has_key?(@bot.nick)
            @bot.sendmsg "PRIVMSG", "NickServ", "IDENTIFY " + @registry[@bot.nick]
          end
        end
      end